├── .editorconfig ├── .github ├── CODEOWNERS └── workflows │ ├── ci.yml │ └── generate-since.yml ├── .gitignore ├── README.md ├── bin └── wp-since ├── check-plugin.php ├── composer.json ├── composer.lock ├── generate-since-json.php ├── phpcs.xml ├── src ├── Checker │ └── CompatibilityChecker.php ├── Resolver │ ├── IgnoreRulesResolver.php │ ├── InlineIgnoreResolver.php │ └── VersionResolver.php ├── Runner │ └── PluginCheckCommand.php ├── Scanner │ ├── PluginScanner.php │ ├── SymbolExtractorVisitor.php │ └── SymbolHandlers │ │ ├── FunctionCallHandler.php │ │ ├── MethodCallHandler.php │ │ ├── NewClassHandler.php │ │ ├── StaticCallHandler.php │ │ └── SymbolHandlerInterface.php └── Utils │ ├── TablePrinter.php │ └── VersionHelper.php ├── tests ├── CompatibilityCheckerTest.php ├── Integration │ └── FullCompatibilityFlowTest.php ├── PluginScannerTest.php ├── Resolver │ └── IgnoreRulesResolverTest.php ├── TablePrinterTest.php ├── VersionHelperTest.php ├── VersionResolverTest.php └── fixtures │ ├── file-a.php │ ├── file-b.php │ ├── plugin-full-test │ ├── .distignore │ ├── ignore-this.php │ ├── ignored-folder │ │ └── fake1.php │ ├── ignored-no-slash │ │ └── file.php │ ├── plugin-full-test.php │ └── readme.txt │ ├── plugin-ignore-comment │ └── plugin-ignore-comment.php │ ├── plugin-with-header │ └── plugin-with-header.php │ ├── plugin-with-readme-only │ ├── plugin-with-readme-only.php │ └── readme.txt │ └── plugin-without-version │ ├── plugin-without-version.php │ └── readme.txt └── wp-since.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @eduardovillao 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/generate-since.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/.github/workflows/generate-since.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/README.md -------------------------------------------------------------------------------- /bin/wp-since: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/bin/wp-since -------------------------------------------------------------------------------- /check-plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/check-plugin.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/composer.lock -------------------------------------------------------------------------------- /generate-since-json.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/generate-since-json.php -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/phpcs.xml -------------------------------------------------------------------------------- /src/Checker/CompatibilityChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Checker/CompatibilityChecker.php -------------------------------------------------------------------------------- /src/Resolver/IgnoreRulesResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Resolver/IgnoreRulesResolver.php -------------------------------------------------------------------------------- /src/Resolver/InlineIgnoreResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Resolver/InlineIgnoreResolver.php -------------------------------------------------------------------------------- /src/Resolver/VersionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Resolver/VersionResolver.php -------------------------------------------------------------------------------- /src/Runner/PluginCheckCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Runner/PluginCheckCommand.php -------------------------------------------------------------------------------- /src/Scanner/PluginScanner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/PluginScanner.php -------------------------------------------------------------------------------- /src/Scanner/SymbolExtractorVisitor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolExtractorVisitor.php -------------------------------------------------------------------------------- /src/Scanner/SymbolHandlers/FunctionCallHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolHandlers/FunctionCallHandler.php -------------------------------------------------------------------------------- /src/Scanner/SymbolHandlers/MethodCallHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolHandlers/MethodCallHandler.php -------------------------------------------------------------------------------- /src/Scanner/SymbolHandlers/NewClassHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolHandlers/NewClassHandler.php -------------------------------------------------------------------------------- /src/Scanner/SymbolHandlers/StaticCallHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolHandlers/StaticCallHandler.php -------------------------------------------------------------------------------- /src/Scanner/SymbolHandlers/SymbolHandlerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Scanner/SymbolHandlers/SymbolHandlerInterface.php -------------------------------------------------------------------------------- /src/Utils/TablePrinter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Utils/TablePrinter.php -------------------------------------------------------------------------------- /src/Utils/VersionHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/src/Utils/VersionHelper.php -------------------------------------------------------------------------------- /tests/CompatibilityCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/CompatibilityCheckerTest.php -------------------------------------------------------------------------------- /tests/Integration/FullCompatibilityFlowTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/Integration/FullCompatibilityFlowTest.php -------------------------------------------------------------------------------- /tests/PluginScannerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/PluginScannerTest.php -------------------------------------------------------------------------------- /tests/Resolver/IgnoreRulesResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/Resolver/IgnoreRulesResolverTest.php -------------------------------------------------------------------------------- /tests/TablePrinterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/TablePrinterTest.php -------------------------------------------------------------------------------- /tests/VersionHelperTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/VersionHelperTest.php -------------------------------------------------------------------------------- /tests/VersionResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/VersionResolverTest.php -------------------------------------------------------------------------------- /tests/fixtures/file-a.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/file-a.php -------------------------------------------------------------------------------- /tests/fixtures/file-b.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/file-b.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/.distignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/.distignore -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/ignore-this.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/ignore-this.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/ignored-folder/fake1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/ignored-folder/fake1.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/ignored-no-slash/file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/ignored-no-slash/file.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/plugin-full-test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/plugin-full-test.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-full-test/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-full-test/readme.txt -------------------------------------------------------------------------------- /tests/fixtures/plugin-ignore-comment/plugin-ignore-comment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-ignore-comment/plugin-ignore-comment.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-with-header/plugin-with-header.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-with-header/plugin-with-header.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-with-readme-only/plugin-with-readme-only.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-with-readme-only/plugin-with-readme-only.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-with-readme-only/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-with-readme-only/readme.txt -------------------------------------------------------------------------------- /tests/fixtures/plugin-without-version/plugin-without-version.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-without-version/plugin-without-version.php -------------------------------------------------------------------------------- /tests/fixtures/plugin-without-version/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/tests/fixtures/plugin-without-version/readme.txt -------------------------------------------------------------------------------- /wp-since.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eduardovillao/wp-since/HEAD/wp-since.json --------------------------------------------------------------------------------