a4sex / entity-cleaner-bundle
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.2.10
2024-04-22 06:02 UTC
Requires
- php: ^8.2
- a4sex/auto-clean-entity: ^1.0
- doctrine/doctrine-bundle: ^2.7
- doctrine/orm: *
- symfony/dotenv: ^6.0
- symfony/flex: *
- symfony/runtime: ^6.0
- symfony/uid: ^6.0
- symfony/yaml: ^6.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- rector/rector: ^1.0
- symfony/config: ^6.0
- symfony/console: ^6.0
- symfony/debug-bundle: ^6.0
- symfony/dependency-injection: *
- symfony/framework-bundle: ^6.0
- symfony/http-kernel: ^6.0
- symfony/maker-bundle: ^1.0
- symfony/phpunit-bridge: ^6.1
- symfony/runtime: *
- symfony/stopwatch: ^6.0
- symfony/web-profiler-bundle: ^6.0
- symfony/yaml: *
- symplify/easy-coding-standard: ^12.1
Conflicts
README
#[AutoCleanEntity(enabled: true, period: "90", field: "added")]
#[AutoCleanEntity(enabled: true, every: 10, period: "90", limit: 100, field: "added")]
every - ($number % $every) == 0 - остаток целочисленного деления на $every
Refactoring
vendor/bin/rector process --dry-run --no-diffs vendor/bin/ecs --fix