All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Prevent exception when require and/or require-dev is empty
- Fixes for dev requirements
- Changed call in Nikic parser
- Added JSON format to module list output
- New CLI
yireo_extensionchecker:list:modules
(module name, enabled/disabled, composer version)
- Do not pick up on nodes that are functions #54 @sprankhub
- Remove exception for module with no sequence #52 @iranimij
- Fix name issues #50 @iranimij
- Additional fixes in performance
- Check multiple modules at once by passing comma-seperated module-names to scan command #46 @iranimij
- Detect more dependencies
- Cleanup old code with dynamic properties
- Add compatibility with older
composer
commands that lackno-scripts
flag
- Argument type compilation error
- Add difference between hard and soft dependencies
- Add XML-file collector for
etc/
folder
- Make sure no table is outputted when messages count 0
- New CLI
yireo_extensionchecker:list-classes
- New CLI
yireo_extensionchecker:create-plantuml-diagram
- Fix path in DI proxy
- Issue with missing DI proxy during M2 installation (also with Integration Tests) #38
- Fix PHP 7.4 issues
- Detect classnames referred to via Magento CLI
find('console:command')
- New template parsing
- Simple detection of
Hyva_Theme
deps
- Typo prevents missing module.xml deps to be reported
- Implement verbose flag with some debugging
- Set default values for RuntimeConfig
- First draft of CLI to check module compat with certain Magento version
- Make sure that non-namespaced classes are picked up as well (#30)
- Reimplement flag "hide-needless" again
- Remove exception when zero PHP files are found (#28)
- Don't suggest version for PHP dep and ext- deps (#27)
- PHP comma not working in PHP 7.4 (#25 @sprankhub)
- Add XML Layout detector to find component dependencies
- Added GitHub Actions for integration tests
- Use
nikic/php-parser
to better detect used FQCN
- Only show exception messages in output with verbosity set
- Additional tests and fixes
- Skip various needless errors
- Support for imported namespaces separated by comma
- Prevent incorrect imported namespaces from causing issues
- Detect imported classes in a filename manually using a simple regex
- Swap return codes in CLI commands because 0 means ok
- Fixed PHP 7.4 compat issue in Message/Message.php
- Huge rewrite of entire logic
- JSON format to CLI output
- Suggest version number if set to wildcard
- Make sure invalid FQDN doesn't throw PHP Fatal Error
- Find composer packages where registration.php is not in root #22
- Fix wrong CLI command name
- Correctly report source of deprecated class #21
- Properly pick up on injected interfaces too
- Support multiple namespace tokens
- Fix token warning on PHP 7.4
- Moved CLI to https://github.com/yireo/Yireo_ExtensionCheckerCli
- Remove non-JSON lines from composer output
- Allow Command to be run without installing Magento #19 (@lbajsarowicz)
- Typo in class inspector line 122 (issue 20)
- Moved all non-scan related CLI to Yireo_ExtensionValidationTools
- Removed dep with Magento_Store
- Removed
setup_version
- Dropped support for PHP version 7.3 or lower
- Integration tests
- Added new messages system for feedback from scan back to console
- Added
Component
class for modules, libraries and other package types
- Non-existing module for known module will now throw an error
- Report composer missing for any component missing #16
- Moved
Scan/Module
toUtil/ModuleInfo
- Removed output and input from main class, replaced with messages
- Additional exceptions and debug statements for analysing errors
- Hide warning about missing constants with different PHP versions
- Bump version
- Make sure packages are properly detected from class names
- Fix bug with namespace (check T_NAME_QUALIFIED)
- Scan for used interfaces too
- Make sure to import FQDN to avoid bugs
- Add GraphQL detection
- Add simple unit tests to safeguard refactoring
- Verbose flag (
-v
) for better debugging
- New command for generate PHPUnit unit tests
- Upgraded deps to allow for PHP 8 compat
- Do not disallow wildcard for PHP extensions
- Fix class name detection
- Scan for deps with version set to wildcard
- New CLI to check versioning of composer.json file
- Magento 2.4 compat
- PHPCS compliance
- Add an exit code 1 if warnings are found
- This CHANGELOG
- Better checks to see if class is instantiable
- Use preferences to translate interfaces into classes