Skip to content

Releases: crealoz/easyaudit-cli

Progress & Polish

13 Jan 08:08
6e04549

Choose a tag to compare

Added

  • Colorful scan output with severity indicators (red for errors, yellow for warnings, blue for info)
  • Visual header with processor names in cyan for better readability
  • Class hierarchy detection in SpecificClassInjection processor
  • New rules for classes with children requiring manual fix:
    • collectionWithChildrenMustUseFactory
    • repositoryWithChildrenMustUseInterface
  • ExternalToolMapping for issues fixable by external tools (php-cs-fixer suggestions)
  • Progress bar in FixApply command
  • Echo output for all processor rules showing issue counts
  • New PreparerInterface with GeneralPreparer and DiPreparer for payload preparation
  • Dedicated Logger service for error and debug logging
  • Filenames utility class for path sanitization
  • Multi-file fix support via Api::requestMultiFilefix() for cross-file issues

Changed

  • Scanner output now displays processor names instead of identifiers
  • Improved FixApply command with file-by-file processing
  • Refactored FixApply to use class properties for better state management
  • Extracted payload preparation logic into dedicated preparer classes
  • Simplified progress bar rendering using class properties

Fixed

  • Helpers processor echo statements moved from getReport() to process() for consistency

Processors Update

06 Nov 19:35
210f87d

Choose a tag to compare

Added

New Processors (12)

Dependency Injection & Architecture:

  • Preferences - Multiple preferences detection
  • ProxyForHeavyClasses - Heavy class proxy validation

Code Quality:

  • HardWrittenSQL - Raw SQL detection
  • SpecificClassInjection - Concrete class injection detection
  • UseOfRegistry - Deprecated Registry usage
  • UseOfObjectManager - Direct ObjectManager usage
  • PaymentInterfaceUseAudit - Deprecated payment method detection

Template & View Layer:

  • Cacheable - Non-cacheable block detection
  • AdvancedBlockVsViewModel - Template anti-patterns
  • Helpers - Deprecated Helper patterns

Architecture:

  • BlockViewModelRatio - Block vs ViewModel analysis
  • UnusedModules - Disabled modules detection

Documentation

  • Complete processor documentation in tests/fixtures/README.md
  • Updated README with full processor list
  • Release notes and changelog
  • Migration documentation

Testing

  • 50+ test fixtures covering all processors
  • Good and bad examples for each processor
  • Ready-to-run test suite

Changed

  • README now lists all 16 available processors with descriptions
  • box.json now includes all new processor files
  • Updated project documentation to reflect completion status

Technical Details

  • All processors use static analysis only (no runtime required)
  • SARIF-compatible output for GitHub Code Scanning
  • Zero breaking changes from 1.x
  • 42 files total in PHAR (165KB)

Improve verbosity, add git to container and patch name

02 Oct 19:17
f744fd7

Choose a tag to compare

API Connector

02 Oct 10:05
9511bbe

Choose a tag to compare

Full Changelog: v0.0.4...v0.0.5

Update SARIF reporter

25 Sep 14:42
26e6116

Choose a tag to compare

v0.0.4

consolidate sarif results

add severity on sarif reports

25 Sep 13:48
ea7a893

Choose a tag to compare

v0.0.3

update sarif severity

CI/CD compatibility

25 Sep 13:33
511b79f

Choose a tag to compare

v0.0.2

update sarif reporter and paths