Skip to content

Commit

Permalink
PB-36607 Update Cake core to 4.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored and ishanvyas22 committed Nov 11, 2024
1 parent ed7ffde commit ac0085c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 29 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"ext-pdo": "*",
"ext-curl": "*",
"composer/composer": "^2.8.1",
"cakephp/cakephp": "^4.5",
"cakephp/cakephp": "^4.5.7",
"cakephp/chronos": "2.4.*",
"longwave/laminas-diactoros": "^2.14.1",
"cakephp/migrations": "dev-master#cab2143c0b477eae213b472cdb5a3faa1ea1d0ff",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions psalm-baseline-v5-upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
<code><![CDATA[$user->id]]></code>
</InvalidPropertyFetch>
</file>
<file src="plugins/PassboltCe/EmailNotificationSettings/src/Utility/EmailNotificationSettingsDefinitionRegisterEvent.php">
<MissingTemplateParam>
<code>EmailNotificationSettingsDefinitionRegisterEvent</code>
</MissingTemplateParam>
</file>
<file src="plugins/PassboltCe/EmailNotificationSettings/tests/TestCase/Utility/EmailNotificationSettingsTest.php">
<InvalidPropertyFetch>
<code><![CDATA[$dbEmailNotifSettings->value]]></code>
Expand Down Expand Up @@ -527,24 +522,9 @@
<code>$senderEmail</code>
</InvalidCast>
</file>
<file src="src/Controller/Events/ControllerFindIndexOptionsBeforeMarshal.php">
<MissingTemplateParam>
<code>ControllerFindIndexOptionsBeforeMarshal</code>
</MissingTemplateParam>
</file>
<file src="src/Controller/Settings/SettingsIndexController.php">
<InvalidConstantAssignmentValue>
<code><![CDATA[SETTINGS_VISIBILITY_KEY = 'settingsVisibility']]></code>
</InvalidConstantAssignmentValue>
</file>
<file src="src/Model/Event/TableFindIndexBefore.php">
<MissingTemplateParam>
<code>TableFindIndexBefore</code>
</MissingTemplateParam>
</file>
<file src="src/Notification/Email/CollectSubscribedEmailRedactorEvent.php">
<MissingTemplateParam>
<code>CollectSubscribedEmailRedactorEvent</code>
</MissingTemplateParam>
</file>
</files>
4 changes: 4 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@
<directory name="plugins/PassboltCe/Metadata/templates/" />
</ignoreFiles>
</projectFiles>

<issueHandlers>
<MissingTemplateParam errorLevel="suppress"/>
</issueHandlers>
</psalm>
3 changes: 3 additions & 0 deletions src/ORM/Association/PassboltBelongsToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
* Add the following option to the ORM query to remove any _jointData from the returned result.
*
* $query->applyOptions(["excludeJunctionProperty" => true]);
*
* @template T of \Cake\ORM\Table
* @mixin T
*/
class PassboltBelongsToMany extends BelongsToMany
{
Expand Down

0 comments on commit ac0085c

Please sign in to comment.