The package contains a bootstrap for running Yii3 console application.

Overview

Yii Console Runner


Latest Stable Version Total Downloads Build status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis type-coverage

The package contains a bootstrap for running Yii3 console application.

Requirements

  • PHP 8.0 or higher.

Installation

The package could be installed with composer:

composer require yiisoft/yii-runner-console --prefer-dist

General usage

In your console entry script do the following:

#!/usr/bin/env php


declare(strict_types=1);

use Yiisoft\Yii\Runner\Console\ConsoleApplicationRunner;

require_once __DIR__ . '/preload.php';

(new ConsoleApplicationRunner(__DIR__, $_ENV['YII_DEBUG'], $_ENV['YII_ENV']))->run();

Testing

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:

./vendor/bin/roave-infection-static-analysis-plugin

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

License

The Yii Console Runner is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

Comments
  • PHP 7.4 compatibility?

    PHP 7.4 compatibility?

    What steps will reproduce the problem?

    Use yii-console with PHP 7.4, try to use it with yii-console-runner.

    What is the expected result?

    Composer update works.

    What do you get instead?

    Got composer problem with PHP require version -> 8.0.

    Additional info

    Why this package require PHP 8.0? When (almost?) all other core Yii3 packages work with 7.4? yii-console works with 7.4 and 8.0. Does this package must-have PHP 8.0 for some new feature?

    | Q | A | ---------------- | --- | Version | 1.0.0 | PHP version | 7.4 | Operating system | Linux

    question 
    opened by tomaszkane 3
  • Update vimeo/psalm requirement from ^4.18 to ^5.1

    Update vimeo/psalm requirement from ^4.18 to ^5.1

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.1.0

    What's Changed

    Deprecations

    Features

    Fixes

    Docs

    New Contributors

    Full Changelog: https://github.com/vimeo/psalm/compare/5.0.0...5.1.0

    Commits
    • 4defa17 Merge pull request #8774 from bdsl/report-by-issue-type-severity
    • 1dbdf78 Code style fix
    • ad57727 Sort issue by position in codebase in ByIssueLevelAndTypeReport if level & ty...
    • a29f65e Fix too lax function visibility in test
    • 6693421 Code style fix
    • 5423983 Fix error in ByIssueLvelAndTypeReport heading
    • 699ee34 Indent heredoc in test
    • d6c7c86 Remove unecassary subheadings in error levels documentation
    • cd18cdc Re-order list of errors in docs
    • 9e63bf6 Minor code edits in ByIssueLevelAndType
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update rector/rector requirement from ^0.14.3 to ^0.15.0

    Update rector/rector requirement from ^0.14.3 to ^0.15.0

    Updates the requirements on rector/rector to permit the latest version.

    Release notes

    Sourced from rector/rector's releases.

    Released Rector 0.15

    We released a new getrector.org website, including new documentation - https://getrector.org/documentation :tada: You can already find a few new sections there.

    This release brings the most significant changes in type safety. Few rules in type declaration worked with docblock types and completed type as strict. These rules lead to crashing code with invalid types. Instead, we've been splitting these rules into smaller and specific ones (Unix style!) that handle exact strict type declarations. This release finalizes the removal of these weak rules.

    Welcome new type declaration rules that are safe and work with 100 % known strict types ↓

    New Features :partying_face:

    • [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
    • [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
    • [TypeDeclaration] Add AddReturnTypeDeclarationFromYieldsRector (#3114)
    • [TypeDeclaration] Add ReturnTypeFromReturnDirectArrayRector, ReturnTypeFromStrictConstantReturnRector, ReturnTypeFromStrictTypedCallRector (#3125)
    • [TypeDeclaration] Add AddParamTypeFromPropertyTypeRector (#3109)
    • Add list-rules command for tool interoperabtility (#3087)
    • Add SimplifyEmptyCheckOnEmptyArrayRector #7485 (#3069), Thanks @​JohJohan!
    • [Php80] Add ClassOnThisVariableObjectRector (#3093)

    Bugfixes :bug:

    • [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
    • Skip MakeTypedPropertyNullableIfCheckedRector for constructor assigment. (#3074), Thanks @​Wohlie!
    • Fix StrContainsRector when strpos offset is set (#3086), Thanks @​ajgarlag!
    • [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
    • [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
    • [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
    • [DeadCode] Fix RemoveJustPropertyFetchRector to skip concat assigns (#3123)
    • [DeadCode] Skip re-assigned variable in RemoveJustPropertyFetchRector (#3124)
    • [Php74] Register TypedPropertyFromAssignsRector to php74 config set (#3127)
    • docs (https://github.com/rectorphp/rector-src/commit/571a1e6067342b21c2baaa10976103915299b0c6)
    • [TypeDeclaration] Skip property names in TypedPropertyFromStrictConstructorRector (#3128)
    • [TypeDeclaration] Skip doctrine collection type (#3130)
    • [TypeDeclaration] Use existing MakePropertyTypedGuard on TypedPropertyFromStrictConstructorRector (#3131)
    • [PHP 8.1] Add other methods to ClassFromEnumFactory (https://github.com/rectorphp/rector-src/commit/d2064068055fb25da2c245515a6c6260fbe6a597)
    • simplify PHPStanStaticTypeMapper (#3143), Thanks @​staabm!
    • Fix foreach key evaluation for SimplifyForeachToArrayFilterRector. (#3100), Thanks @​Wohlie!
    • [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
    • [Php73] Add closure bindings for SimplifyForeachToArrayFilterRector. (#3146), Thanks @​Wohlie!

    ... (truncated)

    Commits
    • fbfbe49 Rector 0.15.0
    • ab11a00 Updated Rector to commit 25dec6b32504d747ff62193ff4704144ca10b040
    • 3d977e0 Updated Rector to commit 16680c4f102d8155d94340307e8ec02c03ac42ed
    • c390fa8 Updated Rector to commit 4e9214f313edac16dbb4ff6ac48da2d1d706a360
    • 113d4ed Updated Rector to commit 58069c319777423311a4877733c01c54394c3a27
    • 2a553a9 Updated Rector to commit 3dea2bdc4de76d217cc2d67cce4ccb41d2b4c7f3
    • 83accd4 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
    • 642698e Updated Rector to commit e8a252fe262cac38eb74b9584f78e2daee006ffa
    • 82eda1f Updated Rector to commit d670b4e50deb738f15d77c6a4f7fe773791c871f
    • 670f999 Updated Rector to commit 1f46de3de704155da47e3b8d87312224cb5550d6
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update vimeo/psalm requirement from ^4.18 to ^5.0

    Update vimeo/psalm requirement from ^4.18 to ^5.0

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    Psalm 5

    Welcome to Psalm 5!

    There's an accompanying post on psalm.dev, written by @​muglug & the current maintainers of Psalm.

    What's Changed

    Removed

    Features

    ... (truncated)

    Commits
    • 4e177bf Merge pull request #8790 from malarzm/patch-1
    • 7877570 Remove CallMapTest.php from Psalm self-analysis
    • 28188d1 Remove unfinished sentence
    • 6fff6df Merge pull request #8788 from weirdan/fix-xml-report-crashes-on-8.1
    • 874eb7d Fix crashes when XML report is used on PHP 8.1
    • 9d597cf Merge pull request #8782 from weirdan/check-runtime-requirements
    • 94dac9f Merge pull request #8783 from weirdan/bump-slevomat-coding-standard
    • ed36f2c Bump slevomat/coding-standard
    • 8fa35c2 Variables should outlive namespaces (#8779)
    • 05b8e0e Replace all references to static variables when moving class (#8780)
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Add support for `yiisoft/definitions` version `^3.0`

    Add support for `yiisoft/definitions` version `^3.0`

    Updates the requirements on yiisoft/definitions to permit the latest version.

    Release notes

    Sourced from yiisoft/definitions's releases.

    Version 3.0.1

    • Bug #53: Fixed error on use in array definition methods that should be work via magic __call() method (@​vjik)
    Changelog

    Sourced from yiisoft/definitions's changelog.

    3.0.1 November 08, 2022

    • Bug #53: Fixed error on use in array definition methods that should be work via magic __call() method (@​vjik)

    3.0.0 November 04, 2022

    • Chg #49: Change result format of DefinitionStorage::getBuildStack() method to definition IDs array (@​vjik)
    • Enh #41: Raise minimum PHP version to 8.0 and refactor code (@​xepozz, @​vjik)
    • Enh #44: In methods of array definitions add autowiring and improve variadic arguments support (@​vjik)
    • Enh #46: In definition validator add a check of method name in array definitions (@​vjik)
    • Bug #48: Definition validator returns false positive result on empty string (@​vjik)

    2.1.0 October 25, 2022

    • Enh #43: Add Reference::optional() method that returns null when there is no dependency defined in container (@​vjik)

    2.0.0 June 17, 2022

    • New #37: Make method DefinitionValidator::validateArrayDefinition() public (@​vjik)
    • Chg #30: Rename method ArrayDefinition::setReferenceContainer() to withReferenceContainer() and make it immutable (@​vjik)
    • Chg #37: Remove method ParameterDefinition::isBuiltin() (@​vjik)

    1.0.2 April 01, 2022

    • Bug #32: Throw exception instead of returning default value if optional dependency exists but there is an exception when getting it (@​vjik)
    • Bug #34: In one of edge cases don't throw exception if container returned result of incorrect type (@​vjik)

    1.0.1 December 19, 2021

    • Bug #31: Add support for objects as default parameter values (@​vjik)

    1.0.0 November 30, 2021

    • Initial release.
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 1
  • Update rector/rector requirement from ^0.14.3 to ^0.15.1

    Update rector/rector requirement from ^0.14.3 to ^0.15.1

    Updates the requirements on rector/rector to permit the latest version.

    Release notes

    Sourced from rector/rector's releases.

    Released Rector 0.15.1

    New Features :partying_face:

    • [CodingStyle] Split SplitGroupedConstantsAndPropertiesRector to SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector (#3158)
    • Add compatible phpstan/phpdoc-parser 0.15 (#3157)

    Bugfixes :bug:

    • Skip short class names in UseClassKeywordForClassNameResolutionRector (#3156)
    • [Core] Fix crash indentation on indent(\t, 1) config (#3155)
    • [TypeDeclaration] Skip union mixed on TypedPropertyFromAssignsRector (#3160)
    • [TypeDeclaration] Handle Anonymous class extends existing class in union (#3161)
    • Add skipped Rectors to list-rules (#3162)
    • [TypeDeclaration] Remove PhpDocTypeChanger->changeVarType() on TypedPropertyFromAssignsRector (#3163)
    • [TypeDeclaration] Skip multi return types on ReturnTypeFromReturnDirectArrayRector (#3164)
    • [CodeQuality] Skip stdClass in IssetOnPropertyObjectToPropertyExistsRector, as always nested (#3166)
    • Do not apply property promotion to parameters with the SensitiveParameter attribute (#3165), Thanks @​mbabker!
    • [TypeDeclaration] Skip void return on AddArrowFunctionReturnTypeRector (#3167)
    • [Php82] Skip ReadOnlyClassRector on has parent non-readonly class (#3169), Thanks @​Yoann-TYT!
    • [CodeQuality] Handle BooleanNot on SimplifyEmptyCheckOnEmptyArrayRector (#3170)
    • [Core] Use FullyQualifiedObjectType and ThisType detection for local property fetch on PropertyFetchAnalyzer (#3172)
    • [CodeQuality] Skip non typed property no default value never assigned on SimplifyEmptyCheckOnEmptyArrayRector (#3171)
    • [PHPStanStaticTypeMapper] Handle Nullable Type on UnionType on UnionTypeMapper when possible (#3173)
    • [CodeQuality][CodingStyle] Handle crash on SimplifyIfReturnBoolRector+NewlineAfterStatementRector+StringClassNameToClassConstantRector (#3175)
    • [DeadCode] Skip Class Constant used in Enum on RemoveUnusedPrivateCla… (#3174), Thanks @​eliashaeussler!
    • [Php80] Do not remove Parameter attribute on ClassPropertyAssignToConstructorPromotionRector (#3179)
    • [PHP 8.1] Skip trait in NullToStrictStringFuncCallArgRector as unknown context (#3180)
    • Fix trait property visibility in PrivatizeFinalClassPropertyRector (#3182)
    • [Php81] Allow normal variable in trait on NullToStrictStringFuncCallArgRector (#3181)
    Commits
    • bf52972 Rector 0.15.1
    • 2458235 Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
    • 7c46ba0 Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
    • a6cbd60 Updated Rector to commit f20fd6e9daf997a2116f34a305d2c9afa72d393a
    • 12fbd94 Updated Rector to commit 30bc9ac21ab0e2acbd617954ed6358557514e188
    • 04232cb Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
    • d205913 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 5a40891 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 7924f69 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 5c3e98d Updated Rector to commit bea2e12a6d6e7a7b1eb1f7b6f82a0ec1e7c21f2c
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 0
  • Update vimeo/psalm requirement from ^4.18 to ^5.2

    Update vimeo/psalm requirement from ^4.18 to ^5.2

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.2.0

    What's Changed

    Features

    Fixes

    Internal changes

    Typos

    New Contributors

    Full Changelog: https://github.com/vimeo/psalm/compare/5.1.0...5.2.0

    Commits
    • fb685a1 Merge pull request #8890 from weirdan/enum-forbidden-methods
    • 9db0eb3 InvalidEnumMethod requires PHP8.1+
    • 19a1005 Forbid most magic methods on enums
    • ca0b2a1 Merge pull request #8883 from weirdan/unused-messages-duplicates
    • 32eaf12 Prevent duplicate (Possibly)UnusedMethod/(Possibly)UnusedProperty
    • 114552f Merge pull request #8882 from theofidry/feature/update-cpu-core-counter
    • 4a6bfea Upgrade CpuCoreCounter
    • ef02ded Merge pull request #8833 from theofidry/feature/cpu-counter
    • af549fa Merge pull request #8854 from kkmuffme/fix-unsafe-file_get_contents
    • 2a45f18 Merge pull request #8870 from lptn/add-missing-sodium-functions
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 0
  • Pass console argument at startup

    Pass console argument at startup

    | Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ❌ Related https://github.com/yiisoft/yii-console/pull/159

    status:code review 
    opened by xepozz 0
  • Update codeception/codeception requirement from ^4.1 to ^5.0

    Update codeception/codeception requirement from ^4.1 to ^5.0

    Updates the requirements on codeception/codeception to permit the latest version.

    Release notes

    Sourced from codeception/codeception's releases.

    5.0.0

    Blog post

    Summary of all differences from Codeception 4

    Added
    • Basic attribute support
    • --shard, --grep, --filter options
    • Test can be filtered by data provider case number or name
    • Tests of all formats are reported as useless if they perform no assertions and reports_useless_tests setting is enabled
    • Array of variables can be passed to all pause functions/methods
    • Dynamic configuration with parameters can use arrays and other non-string types (#6409)
    • codecept_pause function and $this->pause() in unit tests (#6387)
    • Interactive console is executed in the scope of paused test class.
    • New code coverage settings:
      • path_coverage - enables path and branch coverage
      • strict_covers_annotation - marks test as risky if it has @covers annotation but executes some other code
      • ignore_deprecated_code - doesn't collect code coverage for code having @deprecated annotation
      • disable_code_coverage_ignore - ignores @codeCoverageIgnore, @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd annotations
    • Optional value to fail-fast option
    • Dynamic configuration with parameters can use arrays and other non-string types
    Changed
    • PHPUnit is no longer the engine of Codeception, but TestCase format is still supported and assertions are still used
    • Generators create namespaced test suites by default
    • Replaced Hoa Console with PsySH in codecept console
    • Used Symfony VarDumper in codecept_debug
    • Fixed DotReporter output format
    • Module after and failed hooks are executed in reverse order
    • Introduced strict typing and other features of PHP 7 and 8.
    • Cest format can use data providers from other classes
    • Fixed injecting dependencies to actor in Cest and Gherkin formats #6506
    • Variadic parameters can be skipped in dependency injection #6505
    • Deprecated untyped method arguments in Cest format #6521
    Removed
    • JSON and TAP report formats
    • Code coverage blacklist functionality
    • generate:cept command (Cept format itself is deprecated)
    • Deprecated class aliases:
      • Codeception\TestCase\Test
      • Codeception\Platform\Group
      • Codeception\Platform\Group
      • Codeception\TestCase
    • Settings
      • log_incomplete_skipped

    ... (truncated)

    Changelog

    Sourced from codeception/codeception's changelog.

    5.0.0

    Summary of all differences from Codeception 4

    Added
    • Basic attribute support
    • --shard, --grep, --filter options
    • Test can be filtered by data provider case number or name
    • Tests of all formats are reported as useless if they perform no assertions and reports_useless_tests setting is enabled
    • Array of variables can be passed to all pause functions/methods
    • Dynamic configuration with parameters can use arrays and other non-string types (#6409)
    • codecept_pause function and $this->pause() in unit tests (#6387)
    • Interactive console is executed in the scope of paused test class.
    • New code coverage settings:
      • path_coverage - enables path and branch coverage
      • strict_covers_annotation - marks test as risky if it has @covers annotation but executes some other code
      • ignore_deprecated_code - doesn't collect code coverage for code having @deprecated annotation
      • disable_code_coverage_ignore - ignores @codeCoverageIgnore, @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd annotations
    • Optional value to fail-fast option
    • Dynamic configuration with parameters can use arrays and other non-string types
    Changed
    • PHPUnit is no longer the engine of Codeception, but TestCase format is still supported and assertions are still used
    • Generators create namespaced test suites by default
    • Replaced Hoa Console with PsySH in codecept console
    • Used Symfony VarDumper in codecept_debug
    • Fixed DotReporter output format
    • Module after and failed hooks are executed in reverse order
    • Introduced strict typing and other features of PHP 7 and 8.
    • Cest format can use data providers from other classes
    • Fixed injecting dependencies to actor in Cest and Gherkin formats #6506
    • Variadic parameters can be skipped in dependency injection #6505
    • Deprecated untyped method arguments in Cest format #6521
    Removed
    • JSON and TAP report formats
    • Code coverage blacklist functionality
    • generate:cept command (Cept format itself is deprecated)
    • Deprecated class aliases:
      • Codeception\TestCase\Test
      • Codeception\Platform\Group
      • Codeception\Platform\Group
      • Codeception\TestCase
    • Settings
      • log_incomplete_skipped
      • paths.log (replaced by paths.output)
      • Suite setting class_name (replaced by actor)

    ... (truncated)

    Commits
    • 7afeb3f Merge pull request #6486 from Codeception/5.0.0
    • e2d9948 5.0.0
    • 9eca760 5.0.0-RC8
    • 6250a0c Merge pull request #6522 from Codeception/example
    • be09fe7 Merge pull request #6521 from Codeception/deprecate-untyped-cest-arguments
    • 1971ac0 Exclude example dir from installed package
    • 859edc7 Add some code to example tests
    • e031b6c Generate test examples
    • e15da74 Generate test structure example
    • 5a9a50c Add trailing line break to generated files
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 0
  • Update due yiisoft/yii-runner changes and update readme

    Update due yiisoft/yii-runner changes and update readme

    | Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Breaks BC? | ✔️ | Fixed issues | -

    Waiting: https://github.com/yiisoft/yii-runner/pull/9

    status:code review 
    opened by devanych 0
  • Update ConsoleApplicationRunner due improve ConfigFactory::create()

    Update ConsoleApplicationRunner due improve ConfigFactory::create()

    | Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | -

    Waiting: https://github.com/yiisoft/yii-runner/pull/6

    status:code review 
    opened by devanych 0
Releases(1.1.1)
Owner
Yii Software
Yii Framework and packages
Yii Software
This package contains a PHP implementation to solve 3D bin packing problems.

3D Bin Packager This package contains a PHP implementation to solve 3d bin packing problems based on gedex implementation on Go and enzoruiz implement

Farista Latuconsina 7 Nov 21, 2022
This repository contains research materials and dev notes for the DSM research

DSM Research This repository contains a loosely-organized information regarding the processes of DSM loading. A lot of information present here was co

DSM 11 Jun 28, 2021
This repository contains the codebase PHP bridge using RoadRunner Jobs plugin.

RoadRunner Jobs Plugin This repository contains the codebase PHP bridge using RoadRunner Jobs plugin. Installation To install application server and J

Spiral Scout 15 Nov 9, 2022
Contains a few tools usefull for making your test-expectations agnostic to operating system specifics

PHPUnit Tools to ease cross operating system Testing make assertEquals* comparisons end-of-line (aka PHP_EOL) character agnostic Make use of EolAgnost

Markus Staab 1 Jan 3, 2022
WordPress plugin which contains a collection of modules to apply theme-agnostic front-end modifications

Soil A WordPress plugin which contains a collection of modules to apply theme-agnostic front-end modifications. Soil is a commercial plugin available

Roots 1k Dec 20, 2022
This Repository contains a custom Workflow for Alfred which provides the function to instantly search in the Magento 2 DevDocs

Introduction Add the custom search to your Alfred Workflow and have a quicker access to the Magento 2 DevDocs. Installation Just download the alfredwo

David Lambauer 10 Jun 29, 2022
📦 "PHP type names" contains the list of constants for the available PHP data types.

PHP type names PHP type names ?? Description Simple library containing the list of constants for the available PHP data types. Use those constant type

♚ PH⑦ de Soria™♛ 4 Dec 15, 2022
Messaging solutions for PHP - It contains advanced features build on top of a transport component

It contains advanced features build on top of a transport component. Client component kind of plug and play things or consumption component that simplify message processing a lot. Read more about it in documentation.

Enqueue 175 Jan 3, 2023
The module for my life story project that contains my ProtonDrive screenshots.

By: Top README.md Read this article in a different language Sorted by: A-Z Sorting options unavailable ( af Afrikaans Afrikaans | sq Shqiptare Albania

Sean P. Myrick V19.1.7.2 1 Aug 26, 2022
This repository contains academic codes from experiments and labs I did during my academic years.

Table Of Content Semester 3 Business Communication Skills Computer Graphics Digital Electronics and Logic Design Fundamentals of Data Structures Human

Pratik Pingale 13 Nov 29, 2022
Main ABRouter product repository that contains docker-compose file and orchestrates the project containers.

ABRouter-Compose ?? ABRouter is the open-source tool to perform and track A/B tests which is also known as the experiments. Additionally, feature flag

ABRouter 29 Dec 22, 2022
This repository contains the code for the front end/UI of the login system

Bug-free-login This repository contains the code for the front end/UI of the login system Requirements PHP 5.5.0 or higher. How to use Download ZIP wi

Abhijeet Kumar 2 Oct 6, 2022
Sitepackage for TYPO3 CMS that adheres to the recommended standards, maps all conceivable functional areas and contains examples for common use cases.

TYPO3 CMS Sitepackage This sitepackage sticks as closely as possible to the recommended standard and maps all conceivable functional areas. There are

Eric Bode 3 Dec 18, 2022
A Laravel 9 package that allows you enforce security of your artisan commands by authenticating users before running.

Introduction This package allows you as a developer to restrict who can and cannot run artisan commands, especially in a production environment. For e

YOo Slim 2 Sep 15, 2022
Sample application to bookmark links, where interface build with Angular.js + Twitter Bootstrap and server powered by PHP with Slim Framework

RESTful Bookmarks PHP Slim TODO: review and update FrontEnd Sample application to bookmark links, where interface build with Angular.js + Twitter Boot

Erko Bridee 50 Dec 15, 2021
A console noughts and crosses game written in php

Tic-tac-toe A console noughts and crosses game written in php To play, simply clone the file Navigate to the file directory on your terminal and run t

Etorojah Okon 1 Oct 13, 2021
A PHP framework for console artisans

This is a community project and not an official Laravel one Laravel Zero was created by, and is maintained by Nuno Maduro, and is a micro-framework th

Laravel Zero 3.2k Jan 8, 2023
Demo of symfony/console features to build rich command line utilities

Symfony Console Demo This project is a demonstration of symfony/console features. To run the project with Docker. With bash: docker build -t myconsole

Jérôme Tamarelle 3 Jun 16, 2022
This tools helps you with Collectors in DependecyInjection, Console shortcuts, ParameterProvider as service and many more.

Package Builder This tools helps you with Collectors in DependecyInjection, Console shortcuts, ParameterProvider as service and many more. Install com

null 168 Dec 22, 2022