Skip to content

Commit aa03679

Browse files
mentalstringthePanz
authored andcommitted
Add PHP 8.5 support
1 parent e09160f commit aa03679

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- "8.2"
2323
- "8.3"
2424
- "8.4"
25+
- "8.5"
2526
memcached-version:
2627
- "1.6"
2728

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ All the enhancements and BC breaks are listed in the [WHATS_NEW](https://github.
1111

1212
- [DIC](https://github.com/FriendsOfSymfony1/symfony1/wiki/ServiceContainer)
1313
- Composer support
14-
- PHP 8.4 support
14+
- PHP 8.5 support
1515
- performance boost
1616
- new widgets & validators
1717
- some tickets fixed from the symfony trac

lib/command/sfCommandOptionSet.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function addOption(sfCommandOption $option)
6464
if (isset($this->options[$option->getName()])) {
6565
throw new sfCommandException(sprintf('An option named "%s" already exist.', $option->getName()));
6666
}
67-
if (isset($this->shortcuts[$option->getShortcut()])) {
67+
if (!empty($option->getShortcut()) && isset($this->shortcuts[$option->getShortcut()])) {
6868
throw new sfCommandException(sprintf('An option with shortcut "%s" already exist.', $option->getShortcut()));
6969
}
7070

lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/paginationConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ public function getPagerClass()
66

77
public function getPagerMaxPerPage()
88
{
9-
return <?php echo isset($this->config['list']['max_per_page']) ? (integer) $this->config['list']['max_per_page'] : 20 ?>;
9+
return <?php echo isset($this->config['list']['max_per_page']) ? (int) $this->config['list']['max_per_page'] : 20 ?>;
1010
<?php unset($this->config['list']['max_per_page']) ?>
1111
}

lib/vendor/lime/lime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function ok($exp, $message = '')
169169
{
170170
$this->update_stats();
171171

172-
if ($result = (boolean) $exp)
172+
if ($result = (bool) $exp)
173173
{
174174
$this->results['stats']['passed'][] = $this->test_nb;
175175
}

0 commit comments

Comments
 (0)