Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
memcached-version:
- "1.6"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All the enhancements and BC breaks are listed in the [WHATS_NEW](https://github.

- [DIC](https://github.com/FriendsOfSymfony1/symfony1/wiki/ServiceContainer)
- Composer support
- PHP 8.4 support
- PHP 8.5 support
- performance boost
- new widgets & validators
- some tickets fixed from the symfony trac
Expand Down
2 changes: 1 addition & 1 deletion lib/command/sfCommandOptionSet.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function addOption(sfCommandOption $option)
if (isset($this->options[$option->getName()])) {
throw new sfCommandException(sprintf('An option named "%s" already exist.', $option->getName()));
}
if (isset($this->shortcuts[$option->getShortcut()])) {
if (!empty($option->getShortcut()) && isset($this->shortcuts[$option->getShortcut()])) {
throw new sfCommandException(sprintf('An option with shortcut "%s" already exist.', $option->getShortcut()));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ public function getPagerClass()

public function getPagerMaxPerPage()
{
return <?php echo isset($this->config['list']['max_per_page']) ? (integer) $this->config['list']['max_per_page'] : 20 ?>;
return <?php echo isset($this->config['list']['max_per_page']) ? (int) $this->config['list']['max_per_page'] : 20 ?>;
<?php unset($this->config['list']['max_per_page']) ?>
}
2 changes: 1 addition & 1 deletion lib/vendor/lime/lime.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function ok($exp, $message = '')
{
$this->update_stats();

if ($result = (boolean) $exp)
if ($result = (bool) $exp)
{
$this->results['stats']['passed'][] = $this->test_nb;
}
Expand Down