Yii-specific middleware

Overview

Yii Middleware


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

The package ...

Requirements

  • PHP 8.0 or higher.

Installation

The package could be installed with composer:

composer require yiisoft/yii-middleware --prefer-dist

General usage

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 Middleware 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
  • 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] 3
  • Update yiisoft/aliases requirement from ^2.0 to ^3.0

    Update yiisoft/aliases requirement from ^2.0 to ^3.0

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

    Changelog

    Sourced from yiisoft/aliases's changelog.

    Yii Aliases Change Log

    2.1.0 under development

    • New #44: Add method Aliases::getArray() that bulk translates path aliases into actual paths (vjik)

    2.0.0 April 13, 2021

    • Chg #40: Remove magic __set() that was leading to weird side-effects (samdark)

    1.1.4 April 13, 2021

    • Chg: Adjust config for yiisoft/factory changes (vjik, samdark)

    1.1.3 March 23, 2021

    • Chg: Adjust config for new config plugin (samdark)

    1.1.2 December 24, 2020

    • Bug #35: Don't throw TypeError from method getAll(), when alias is nested (Fantom409)

    1.1.1 November 06, 2020

    • Bug #28: Add params to config-plugin section in composer.json (vjik)

    1.1.0 November 4, 2020

    • Chg #26: Change Yii configuration $params['aliases'] to $params['yiisoft/aliases']['aliases'] (vjik)

    1.0.3 October 6, 2020

    • Enh: Don't error on config assembly in case aliases aren't set (samdark)

    1.0.2 October 5, 2020

    • Enh: Add a config for composer-config-plugin (xepozz)

    1.0.1 August 21, 2020

    • Enh: Allow installing on PHP 8 (samdark)

    1.0.0 June 7, 2020

    • 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] 3
  • 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] 2
  • 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] 2
  • 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 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
  • Update vimeo/psalm requirement from ^4.18 to ^5.3

    Update vimeo/psalm requirement from ^4.18 to ^5.3

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

    Release notes

    Sourced from vimeo/psalm's releases.

    5.3.0

    What's Changed

    Features

    Fixes

    Docs

    Internal changes

    New Contributors

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

    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 yiisoft/router-fastroute requirement from ^1.0 to ^2.0

    Update yiisoft/router-fastroute requirement from ^1.0 to ^2.0

    Updates the requirements on yiisoft/router-fastroute to permit the latest version.

    Release notes

    Sourced from yiisoft/router-fastroute's releases.

    Version 2.0.0

    Changelog

    Sourced from yiisoft/router-fastroute's changelog.

    2.0.0 November 12, 2022

    1.1.1 June 28, 2022

    • Enh #103: Add support for psr/simple-cache version ^2.0|^3.0 (@​vjik)

    1.1.0 June 27, 2022

    1.0.0 December 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
  • Fix locale middleware & tests

    Fix locale middleware & tests

    | Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | Keep query params when redirecting

    status:code review type:bug 
    opened by rustamwin 1
  • Separate chain calls

    Separate chain calls

    | Q | A | ------------- | --- | Readability fix | according to https://github.com/yiisoft/docs/issues/155, chain calls must be put on separate lines.

    opened by sankaest 0
  • Adjust validator

    Adjust validator

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

    Uses https://github.com/yiisoft/validator/pull/222

    opened by xepozz 0
  • Update rector/rector requirement from ^0.14.3 to ^0.15.2

    Update rector/rector requirement from ^0.14.3 to ^0.15.2

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

    Release notes

    Sourced from rector/rector's releases.

    Released Rector 0.15.2

    New Features :partying_face:

    • [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
    • [DeadCode] Add TargetRemoveClassMethodRector (#3240)
    • Adapt PrivateConstantToSelfRector to work on non-final classes, too (#3198), Thanks @​alfredbez!
    • [CodingStyle] Add NullifyUnionNullableRector (#3231)
    • [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
    • RenameClassRector with callback support (#3023), Thanks @​dorrogeray!

    Bugfixes :bug:

    • [Php82] Handle parent already readonly on ReadOnlyClassRector (#3199)
    • [DeadCode] Skip append array data on RemoveJustPropertyFetchRector (#3201)
    • [DeadCode] Skip standalone @​return false or true on RemoveUselessReturnTagRector (#3202)
    • Fix wrong reference to replacement rule (#3203), Thanks @​jlherren!
    • [Privatization] Do not remove comment on ChangeReadOnlyPropertyWithDefaultValueToConstantRector (#3204)
    • [Naming] Skip Doctrine collection with @​var Collection on RenamePropertyToMatchTypeRector (#3209)
    • [Core] Performance improvement: Remove unnecessary re-call FileFactory::createFileInfosFromPaths() (#3210)
    • [Php71] Skip defer() function on RemoveExtraParametersRector (#3211)
    • [Core] Improve performance: remove repetitive currentFileProvider->setFile() call on PhpFileProcessor (#3213)
    • [Php81] Allow explicit mixed processed on trait on NullToStrictStringFuncCallArgRector (#3212)
    • [Privatization] Skip used by heredoc on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3216)
    • [Parallel] Fix missing process RemovedAndAddedFilesProcessor->run() on parallel process on WorkerRunner (#3218)
    • [parallel] Improve performance: Run RemovedAndAddeedFileProcessor after loop (#3219)
    • [CodeQuality] Add empty() check to FlipTypeControlToUseExclusiveTypeRector (#3224)
    • [CodeQuality][TypeDeclaration] Handle default value from constructor removed on InlineConstructorDefaultToPropertyRector+TypedPropertyFromStrictConstructorRector (#3225)
    • [TypeDeclaration] Skip yield return on AddClosureReturnTypeRector (#3227)
    • [TypeDeclaration] Skip optional yield on AddReturnTypeDeclarationFromYieldsRector (#3228)
    • [NodeTraverser] Use NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead of NodeTraverser::DONT_TRAVERSE__CHILDREN (#3233)
    • [Core] Improve performance on AstResolver and ClassLikeAstResolver (#3234)
    • [Php81] Skip ReadOnlyPropertyRector on read only class (#3236)
    • [CodingStyle] Skip new line /\r\n|\r|\n/i on ConsistentPregDelimiterRector (#3241)
    • [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)
    Commits
    • 5bc89fa Rector 0.15.2
    • 5b34b97 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
    • 374d2f5 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
    • 5003a01 Updated Rector to commit e920ade7b67a17dbf7e6129585a3261f1fd1540e
    • f233f27 Updated Rector to commit ab3ad293122bafa96d9e8fc64ac15f0220aa9ecc
    • 727b9f4 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
    • 680ba23 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
    • e4dc601 Updated Rector to commit 3c168f03d38bb967a5e65e453f82adf120ef4eba
    • 96d8a22 Updated Rector to commit 70fea54e77ffd186e41540d2b36c5362b073fbc4
    • d72c810 Updated Rector to commit c78e255cf9cb17cedead84ff8a54f421f563942d
    • 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.4

    Update vimeo/psalm requirement from ^4.18 to ^5.4

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

    Release notes

    Sourced from vimeo/psalm's releases.

    5.4.0

    What's Changed

    Features

    Fixes

    Internal changes

    Full Changelog: https://github.com/vimeo/psalm/compare/5.3.0...5.4.0

    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
Owner
Yii Software
Yii Framework and packages
Yii Software
Yii 2: The Fast, Secure and Professional PHP Framework

Yii 2 is a modern framework designed to be a solid foundation for your PHP application. It is fast, secure and efficient and works right out of the bo

Yii Software 14k Dec 31, 2022
Yii 2 Bootstrap 5 Extension

Twitter Bootstrap 5 Extension for Yii 2 This is the Twitter Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap 5 components and plug

Yii Software 48 Dec 14, 2022
Yii2-symfonymailer - Yii 2 Symfony mailer extension.

Yii Mailer Library - Symfony Mailer Extension This extension provides a Symfony Mailer mail solution for Yii framework 2.0. For license information ch

Yii Software 28 Dec 22, 2022
Yii 2 widget for the Froala WYSIWYG HTML Editor.

Yii Framework Froala WYSIWYG HTML Editor Yii 2 widget for Froala Wysiwyg editor. Installation The preferred way to install this extension is through c

Froala 99 Sep 21, 2022
Geography module for Yii 2

Geography module for Yii 2

Sergey Fedorov 13 Oct 20, 2018
Code generation with logic-less templates for Yii

Caviar Code generation with logic-less templates for Yii. Caviar vs Gii You might be wondering why you should use Caviar instead of Gii, so let us tak

Christoffer Niska 10 Dec 19, 2015
This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.

This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.

Revin Roman 9 Jun 17, 2022
Extends Yii Menu widget

Extends Yii Menu widget. This widget offers a scrollspy and affixed enhanced navigation (upto 2-levels) to highlight sections and secondary sections in each page.

Kartik Visweswaran 15 Mar 12, 2022
DepDrop widget is a Yii 2 wrapper for the dependent-dropdown jQuery plugin by Krajee.

yii2-widget-depdrop The DepDrop widget is a Yii 2 wrapper for the dependent-dropdown jQuery plugin by Krajee. This plugin allows multi level dependent

Kartik Visweswaran 82 Nov 27, 2022
An enhanced Yii 2 widget encapsulating the HTML 5 range input (sub repo split from yii2-widgets)

yii2-widget-rangeinput The RangeInput widget is a customized range slider control widget based on HTML5 range input. The widget enhances the default H

Kartik Visweswaran 19 Mar 12, 2022
Extension for creating and sending emails for the Yii PHP framework.

yii-emailer Extension for creating and sending emails for the Yii PHP framework. Usage Migrate the email_message database table by this command: yiic

Digia 12 Mar 30, 2022
This extension provides Flysystem integration for the Yii framework

This extension provides Flysystem integration for the Yii framework. Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.

Alexander Kochetov 276 Dec 9, 2022
Password strategies for Yii

Password strategies are specifications for how passwords should be encoded and verified and how complicated user supplied passwords should be.

Charles Pick 76 Apr 22, 2022
This repository contains a library of optional middleware for your Slim Framework application

Slim Framework Middleware This repository contains a library of optional middleware for your Slim Framework application. How to Install Update your co

Slim Framework 47 Nov 7, 2022
Juliangut Slim Framework Doctrine handler middleware

Juliangut Slim Framework Doctrine handler middleware Doctrine handler middleware for Slim Framework. Slim3 version Doctrine integration service for Sl

Julián Gutiérrez 6 Mar 23, 2021
This Slim Framework middleware will compile LESS CSS files on-the-fly using the Assetic library

This Slim Framework middleware will compile LESS CSS files on-the-fly using the Assetic library. It supports minification and caching, also via Asseti

Gerard Sychay 22 Mar 31, 2020
Northwoods Lazy Middleware

Northwoods Lazy Middleware Lazy loading for PSR-15 middleware and request handlers that supports "just in time" instantiation using a PSR-11 container

Northwoods Technology 4 Aug 10, 2019
Middleware to execute request handlers discovered by a router

middlewares/request-handler Middleware to execute request handlers discovered by a router.

Middlewares 39 Dec 9, 2022
Access control middleware for Slim framework

Slim Access Access control middleware for Slim framework. Supported formats IPv4 and IPv6 addresses CIDR notation all keyword Installation composer re

Alexandre Bouvier 7 Oct 22, 2019