-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistently negate conditions in @includeUnless() Blade directive (#…
…40077) * Consistently negate conditions in @includeUnless() Blade directive Before this, `@includeUnless($undefined ?? true, 'template')` would result in a PHP Warning and an unexpected condition result, because `$undefined ?? true` would be compiled as `! $undefined ?? true`, which due to `!` having precedence over `??` is different than `! ($undefined ?? true)` (which is how `@unless` would compile it). This necessitated the creation of `renderUnless()`, because `@includeUnless()` accepts multiple arguments, and parsing out the first argument to a Blade directive is fraught. So `renderUnless()` takes the parameters as-is, and negates the condition inside the method. * DRY renderUnless() by having it use renderWhen()
- v11.39.1
- v11.39.0
- v11.38.2
- v11.38.1
- v11.38.0
- v11.37.0
- v11.36.1
- v11.36.0
- v11.35.1
- v11.35.0
- v11.34.2
- v11.34.1
- v11.34.0
- v11.33.2
- v11.33.1
- v11.33.0
- v11.32.0
- v11.31.0
- v11.30.0
- v11.29.0
- v11.28.1
- v11.28.0
- v11.27.2
- v11.27.1
- v11.27.0
- v11.26.0
- v11.25.0
- v11.24.1
- v11.24.0
- v11.23.5
- v11.23.4
- v11.23.2
- v11.23.1
- v11.23.0
- v11.22.0
- v11.21.0
- v11.20.0
- v11.19.0
- v11.18.1
- v11.18.0
- v11.17.0
- v11.16.0
- v11.15.0
- v11.14.0
- v11.13.0
- v11.12.0
- v11.11.1
- v11.11.0
- v11.10.0
- v11.9.2
- v11.9.1
- v11.9.0
- v11.8.0
- v11.7.0
- v11.6.0
- v11.5.0
- v11.4.0
- v11.3.1
- v11.3.0
- v11.2.0
- v11.1.1
- v11.1.0
- v11.0.8
- v11.0.7
- v11.0.6
- v11.0.5
- v11.0.4
- v11.0.3
- v11.0.2
- v11.0.1
- v11.0.0
- v10.48.26
- v10.48.25
- v10.48.24
- v10.48.23
- v10.48.22
- v10.48.20
- v10.48.19
- v10.48.18
- v10.48.17
- v10.48.16
- v10.48.15
- v10.48.14
- v10.48.13
- v10.48.12
- v10.48.11
- v10.48.10
- v10.48.9
- v10.48.8
- v10.48.7
- v10.48.6
- v10.48.5
- v10.48.4
- v10.48.3
- v10.48.2
- v10.48.1
- v10.48.0
- v10.47.0
- v10.46.0
- v10.45.1
- v10.45.0
- v10.44.0
- v10.43.0
- v10.42.0
- v10.41.0
- v10.40.0
- v10.39.0
- v10.38.2
- v10.38.1
- v10.38.0
- v10.37.3
- v10.37.2
- v10.37.1
- v10.36.0
- v10.35.0
- v10.34.2
- v10.34.1
- v10.34.0
- v10.33.0
- v10.32.1
- v10.32.0
- v10.31.0
- v10.30.1
- v10.30.0
- v10.29.0
- v10.28.0
- v10.27.0
- v10.26.2
- v10.26.1
- v10.26.0
- v10.25.1
- v10.25.0
- v10.24.0
- v10.23.1
- v10.23.0
- v10.22.0
- v10.21.1
- v10.21.0
- v10.20.0
- v10.19.0
- v10.18.0
- v10.17.1
- v10.17.0
- v10.16.1
- v10.16.0
- v10.15.0
- v10.14.1
- v10.14.0
- v10.13.5
- v10.13.3
- v10.13.2
- v10.13.1
- v10.13.0
- v10.12.0
- v10.11.0
- v10.10.1
- v10.10.0
- v10.9.0
- v10.8.0
- v10.7.1
- v10.7.0
- v10.6.2
- v10.6.1
- v10.6.0
- v10.5.1
- v10.5.0
- v10.4.1
- v10.4.0
- v10.3.3
- v10.3.2
- v10.3.1
- v10.3.0
- v10.2.0
- v10.1.5
- v10.1.4
- v10.1.3
- v10.1.2
- v10.1.1
- v10.1.0
- v10.0.3
- v10.0.2
- v10.0.1
- v10.0.0
- v9.52.16
- v9.52.15
- v9.52.14
- v9.52.13
- v9.52.12
- v9.52.11
- v9.52.10
- v9.52.9
- v9.52.8
- v9.52.7
- v9.52.6
- v9.52.5
- v9.52.4
- v9.52.3
- v9.52.2
- v9.52.1
- v9.52.0
- v9.51.0
- v9.50.2
- v9.50.1
- v9.50.0
- v9.49.0
- v9.48.0
- v9.47.0
- v9.46.0
- v9.45.1
- v9.45.0
- v9.44.0
- v9.43.0
- v9.42.2
- v9.42.1
- v9.42.0
- v9.41.0
- v9.40.1
- v9.40.0
- v9.39.0
- v9.38.0
- v9.37.0
- v9.36.4
- v9.36.3
- v9.36.2
- v9.36.1
- v9.36.0
- v9.35.1
- v9.35.0
- v9.34.0
- v9.33.0
- v9.32.0
- v9.31.0
- v9.30.1
- v9.30.0
- v9.29.0
- v9.28.0
- v9.27.0
- v9.26.1
- v9.26.0
- v9.25.1
- v9.25.0
- v9.24.0
- v9.23.0
- v9.22.1
- v9.22.0
- v9.21.6
- v9.21.5
- v9.21.4
- v9.21.3
- v9.21.2
- v9.21.1
- v9.21.0
- v9.20.0
- v9.19.0
- v9.18.0
- v9.17.0
- v9.16.0
- v9.15.0
- v9.14.1
- v9.14.0
- v9.13.0
- v9.12.2
- v9.12.1
- v9.12.0
- v9.11.0
- v9.10.1
- v9.10.0
- v9.9.0
- v9.8.1
- v9.8.0
- v9.7.0
- v9.6.0
- v9.5.1
- v9.5.0
- v9.4.1
- v9.4.0
- v9.3.1
- v9.3.0
- v9.2.0
- v9.1.0
- v9.0.2
- v9.0.1
- v9.0.0
- v9.0.0-beta.5
- v9.0.0-beta.4
- v9.0.0-beta.3
- v9.0.0-beta.2
- v9.0.0-beta.1
- v8.83.27
- v8.83.26
- v8.83.25
- v8.83.24
- v8.83.23
- v8.83.22
- v8.83.21
- v8.83.20
- v8.83.19
- v8.83.18
- v8.83.17
- v8.83.16
- v8.83.15
- v8.83.14
- v8.83.13
- v8.83.12
- v8.83.11
- v8.83.10
- v8.83.9
- v8.83.8
- v8.83.7
- v8.83.6
- v8.83.5
- v8.83.4
- v8.83.3
- v8.83.2
- v8.83.1
- v8.83.0
- v8.82.0
- v8.81.0
- v8.80.0
- v8.79.0
- v8.78.1
- v8.78.0
- v8.77.1
- v8.77.0
1 parent
fa6921f
commit ec85372
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters