Commit: e7ef0c62cec5409a997e80038d8ee37119062e5c
Author: Sara Golemon <[email protected]> Thu, 18 Jul 2019 10:35:12
-0400
Parents: 87120c33ebb565e547bd010c3f31f06529b846fd
Branches: master
Link:
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e7ef0c62cec5409a997e80038d8ee37119062e5c
Log:
Flip whitespace to match the original file's 4-space format
Changed paths:
M src/Repository/ReasonRepository.php
diff --git a/src/Repository/ReasonRepository.php
b/src/Repository/ReasonRepository.php
index 9e4265a..a9c8ca0 100644
--- a/src/Repository/ReasonRepository.php
+++ b/src/Repository/ReasonRepository.php
@@ -11,58 +11,58 @@ namespace App\Repository;
*/
class ReasonRepository
{
- const REASONS = [
- [
- 'id' => '1',
- 'name' => 'trysnapshot54',
- 'status' => 'Feedback',
- 'title' => 'Try a snapshot (PHP 5.4)',
- 'message' => 'Please try using this snapshot:
+ const REASONS = [
+ [
+ 'id' => '1',
+ 'name' => 'trysnapshot54',
+ 'status' => 'Feedback',
+ 'title' => 'Try a snapshot (PHP 5.4)',
+ 'message' => 'Please try using this snapshot:
- http://snaps.php.net/php5.4-latest.tar.gz
+ http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
- http://windows.php.net/snapshots/',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '2',
- 'name' => 'trysnapshot55',
- 'status' => 'Feedback',
- 'title' => 'Try a snapshot (PHP 5.5)',
- 'message' => 'Please try using this snapshot:
+ http://windows.php.net/snapshots/',
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '2',
+ 'name' => 'trysnapshot55',
+ 'status' => 'Feedback',
+ 'title' => 'Try a snapshot (PHP 5.5)',
+ 'message' => 'Please try using this snapshot:
- http://snaps.php.net/php5.5-latest.tar.gz
+ http://snaps.php.net/php5.5-latest.tar.gz
For Windows:
- http://windows.php.net/snapshots/',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '3',
- 'name' => 'trysnapshottrunk',
- 'status' => 'Feedback',
- 'title' => 'Try a snapshot (trunk)',
- 'message' => 'Please try using this snapshot:
+ http://windows.php.net/snapshots/',
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '3',
+ 'name' => 'trysnapshottrunk',
+ 'status' => 'Feedback',
+ 'title' => 'Try a snapshot (trunk)',
+ 'message' => 'Please try using this snapshot:
- http://snaps.php.net/php-trunk-latest.tar.gz
+ http://snaps.php.net/php-trunk-latest.tar.gz
For Windows:
- http://windows.php.net/snapshots/',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '4',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'The fix for this bug has been committed.
+ http://windows.php.net/snapshots/',
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '4',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
@@ -73,103 +73,103 @@ http://snaps.php.net/.
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '5',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'The fix for this bug has been committed.
Since the websites are not directly
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '5',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'The fix for this bug has been committed. Since the
websites are not directly
updated from the repository, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.',
- 'project' => 'php',
- 'package_name' => 'Website problem',
- 'webonly' => '0',
- ], [
- 'id' => '6',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'This bug has been fixed in the
documentation\'s XML sources. Since the
+ 'project' => 'php',
+ 'package_name' => 'Website problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '6',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'This bug has been fixed in the documentation\'s XML
sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.',
- 'project' => 'php',
- 'package_name' => 'Documentation problem',
- 'webonly' => '0',
- ], [
- 'id' => '7',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'This bug has been fixed in the
documentation\'s XML sources. Since the
+ 'project' => 'php',
+ 'package_name' => 'Documentation problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '7',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'This bug has been fixed in the documentation\'s XML
sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.',
- 'project' => 'php',
- 'package_name' => 'Translation problem',
- 'webonly' => '0',
- ], [
- 'id' => '8',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'The fix for this bug has been committed.
Since the websites are not directly
+ 'project' => 'php',
+ 'package_name' => 'Translation problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '8',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'The fix for this bug has been committed. Since the
websites are not directly
updated from the repository, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.',
- 'project' => 'php',
- 'package_name' => 'Doc Build problem',
- 'webonly' => '0',
- ], [
- 'id' => '9',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'This bug has been fixed in SVN, and
should show up online in an
+ 'project' => 'php',
+ 'package_name' => 'Doc Build problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '9',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'This bug has been fixed in SVN, and should show up
online in an
hour or three.
Thank you for the report, and for helping us make PHP.net better.',
- 'project' => 'php',
- 'package_name' => 'Online Doc Editor problem',
- 'webonly' => '0',
- ], [
- 'id' => '10',
- 'name' => 'fixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in SVN',
- 'message' => 'The fix for this bug has been committed.
Since the PHP Documentation Tools website
+ 'project' => 'php',
+ 'package_name' => 'Online Doc Editor problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '10',
+ 'name' => 'fixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in SVN',
+ 'message' => 'The fix for this bug has been committed. Since the
PHP Documentation Tools website
is updated from the repository at a regular interval, the fix might need
some time to take effect.
Thank you for the report, and for helping us make DocWeb better.',
- 'project' => 'php',
- 'package_name' => 'DocWeb problem',
- 'webonly' => '0',
- ], [
- 'id' => '12',
- 'name' => 'alreadyfixed',
- 'status' => 'Closed',
- 'title' => 'Fixed in release',
- 'message' => 'Thank you for your bug report. This issue
has already been fixed
+ 'project' => 'php',
+ 'package_name' => 'DocWeb problem',
+ 'webonly' => '0',
+ ], [
+ 'id' => '12',
+ 'name' => 'alreadyfixed',
+ 'status' => 'Closed',
+ 'title' => 'Fixed in release',
+ 'message' => 'Thank you for your bug report. This issue has
already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '13',
- 'name' => 'needtrace',
- 'status' => 'Feedback',
- 'title' => 'Need backtrace',
- 'message' => 'Thank you for this bug report. To
properly diagnose the problem, we
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '13',
+ 'name' => 'needtrace',
+ 'status' => 'Feedback',
+ 'title' => 'Need backtrace',
+ 'message' => 'Thank you for this bug report. To properly diagnose
the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
@@ -178,15 +178,15 @@ http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '14',
- 'name' => 'needscript',
- 'status' => 'Feedback',
- 'title' => 'Need Reproduce Script',
- 'message' => 'Thank you for this bug report. To
properly diagnose the problem, we
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '14',
+ 'name' => 'needscript',
+ 'status' => 'Feedback',
+ 'title' => 'Need Reproduce Script',
+ 'message' => 'Thank you for this bug report. To properly diagnose
the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
@@ -197,15 +197,15 @@ database to demonstrate the issue, please make sure it
creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '15',
- 'name' => 'oldversion',
- 'status' => 'Not a bug',
- 'title' => 'Try newer version',
- 'message' => 'Thank you for taking the time to report a
problem with PHP.
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '15',
+ 'name' => 'oldversion',
+ 'status' => 'Not a bug',
+ 'title' => 'Try newer version',
+ 'message' => 'Thank you for taking the time to report a problem
with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
@@ -214,15 +214,15 @@ If you are able to reproduce the bug with one of the
latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '16',
- 'name' => 'support',
- 'status' => 'Not a bug',
- 'title' => 'Not developer issue',
- 'message' => 'Sorry, but your problem does not imply a
bug in PHP itself. For a
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '16',
+ 'name' => 'support',
+ 'status' => 'Not a bug',
+ 'title' => 'Not developer issue',
+ 'message' => 'Sorry, but your problem does not imply a bug in PHP
itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. Due to the volume
@@ -231,40 +231,40 @@ a bug. The support channels will be able to provide an
explanation
for you.
Thank you for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '17',
- 'name' => 'nofeedback',
- 'status' => 'No Feedback',
- 'title' => 'No feedback',
- 'message' => 'No feedback was provided. The bug is
being suspended because
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '17',
+ 'name' => 'nofeedback',
+ 'status' => 'No Feedback',
+ 'title' => 'No feedback',
+ 'message' => 'No feedback was provided. The bug is being suspended
because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '1',
- ], [
- 'id' => '18',
- 'name' => 'notwrong',
- 'status' => 'Not a bug',
- 'title' => 'Expected behavior',
- 'message' => 'Thank you for taking the time to write to
us, but this is not
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '1',
+ ], [
+ 'id' => '18',
+ 'name' => 'notwrong',
+ 'status' => 'Not a bug',
+ 'title' => 'Expected behavior',
+ 'message' => 'Thank you for taking the time to write to us, but
this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '19',
- 'name' => 'notenoughinfo',
- 'status' => 'Feedback',
- 'title' => 'Not enough info',
- 'message' => 'Not enough information was provided for
us to be able
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '19',
+ 'name' => 'notenoughinfo',
+ 'status' => 'Feedback',
+ 'title' => 'Not enough info',
+ 'message' => 'Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
@@ -272,63 +272,63 @@ If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '20',
- 'name' => 'submittedtwice',
- 'status' => 'Not a bug',
- 'title' => 'Submitted twice',
- 'message' => 'Please do not submit the same bug more
than once. An existing
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '20',
+ 'name' => 'submittedtwice',
+ 'status' => 'Not a bug',
+ 'title' => 'Submitted twice',
+ 'message' => 'Please do not submit the same bug more than once. An
existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '21',
- 'name' => 'globals',
- 'status' => 'Not a bug',
- 'title' => 'register_globals',
- 'message' => 'In PHP 4.2.0, the \'register_globals\'
setting default changed to
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '21',
+ 'name' => 'globals',
+ 'status' => 'Not a bug',
+ 'title' => 'register_globals',
+ 'message' => 'In PHP 4.2.0, the \'register_globals\' setting
default changed to
\'off\'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '22',
- 'name' => 'php4',
- 'status' => 'Wont fix',
- 'title' => 'PHP 4 support discontinued',
- 'message' => 'We are sorry, but we can not support PHP
4 related problems anymore.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '23',
- 'name' => 'dst',
- 'status' => 'Not a bug',
- 'title' => 'Daylight Savings',
- 'message' => 'We are happy to tell you that you just
discovered Daylight Savings
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '22',
+ 'name' => 'php4',
+ 'status' => 'Wont fix',
+ 'title' => 'PHP 4 support discontinued',
+ 'message' => 'We are sorry, but we can not support PHP 4 related
problems anymore.',
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '23',
+ 'name' => 'dst',
+ 'status' => 'Not a bug',
+ 'title' => 'Daylight Savings',
+ 'message' => 'We are happy to tell you that you just discovered
Daylight Savings
Time. For more information see:
http://webexhibits.org/daylightsaving/b.html
Instead of using mktime/date consider using gmmktime and gmdate which do
not suffer from DST.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '24',
- 'name' => 'isapi',
- 'status' => 'Not a bug',
- 'title' => 'IIS Stability',
- 'message' => 'We are aware of PHP\'s problems with
stability under IIS and are working
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '24',
+ 'name' => 'isapi',
+ 'status' => 'Not a bug',
+ 'title' => 'IIS Stability',
+ 'message' => 'We are aware of PHP\'s problems with stability under
IIS and are working
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a
@@ -337,27 +337,27 @@ Otherwise please keep trying new releases as we are
working to resolve
the problems on this platform
Thanks for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '25',
- 'name' => 'gnused',
- 'status' => 'Not a bug',
- 'title' => 'Install GNU Sed',
- 'message' => 'Due to a bug in the installed sed on your
system the build
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '25',
+ 'name' => 'gnused',
+ 'status' => 'Not a bug',
+ 'title' => 'Install GNU Sed',
+ 'message' => 'Due to a bug in the installed sed on your system the
build
fails. Install GNU sed and it should be okay.
Thank you for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '26',
- 'name' => 'float',
- 'status' => 'Not a bug',
- 'title' => 'Floating point limitations',
- 'message' => 'Floating point values have a limited
precision. Hence a value might
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '26',
+ 'name' => 'float',
+ 'status' => 'Not a bug',
+ 'title' => 'Floating point limitations',
+ 'message' => 'Floating point values have a limited precision.
Hence a value might
not have the same string representation after any processing. That also
includes writing a floating point value in your script and directly
printing it without any mathematical operations.
@@ -367,27 +367,27 @@ If you would like to know more about "floats" and what
IEEE
http://www.floating-point-gui.de/
Thank you for your interest in PHP.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '27',
- 'name' => 'nozend',
- 'status' => 'Not a bug',
- 'title' => 'No Zend Extensions',
- 'message' => 'Do not file bugs when you have Zend
extensions (zend_extension=)
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '27',
+ 'name' => 'nozend',
+ 'status' => 'Not a bug',
+ 'title' => 'No Zend Extensions',
+ 'message' => 'Do not file bugs when you have Zend extensions
(zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader. These extensions often modify engine
behavior which is not related to PHP itself.',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ], [
- 'id' => '28',
- 'name' => 'mysqlcfg',
- 'status' => 'Not a bug',
- 'title' => 'MySQL Configuration Error',
- 'message' => 'When using the mysqli extension together
with the mysql extension
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ], [
+ 'id' => '28',
+ 'name' => 'mysqlcfg',
+ 'status' => 'Not a bug',
+ 'title' => 'MySQL Configuration Error',
+ 'message' => 'When using the mysqli extension together with the
mysql extension
you have to use the same libraries and include files. mysqli
extension requires the location of mysql_config file, mysql
extension requires the path of your mysql installation.
@@ -396,11 +396,11 @@ If you installed MySQL 4.1 for example with prefix
/usr/local/mysql-4.1
your configure settings should be
--with-mysql=/usr/local/mysql-4.1
--with-mysqli=/usr/local/mysql-4.1/bin/mysql_config',
- 'project' => 'php',
- 'package_name' => '',
- 'webonly' => '0',
- ],
- ];
+ 'project' => 'php',
+ 'package_name' => '',
+ 'webonly' => '0',
+ ],
+ ];
/**
* Class constructor
@@ -414,18 +414,18 @@ your configure settings should be
*/
public function findByProject(string $project = ''): array
{
- $reasons = self::REASONS;
- if ($project !== '') {
- $reasons = array_filter(
- $reasons,
- function ($reason) use ($project) {
- return ((($reason['project'] ?? '') ===
$project) ||
- (($reason['project'] ??
'') === ''));
- });
- }
+ $reasons = self::REASONS;
+ if ($project !== '') {
+ $reasons = array_filter(
+ $reasons,
+ function ($reason) use ($project) {
+ return ((($reason['project'] ?? '') === $project) ||
+ (($reason['project'] ?? '') === ''));
+ });
+ }
$resolves = $variations = [];
- foreach ($reasons as $row) {
+ foreach ($reasons as $row) {
if (!empty($row['package_name'])) {
$variations[$row['name']][$row['package_name']] =
$row['message'];
} else {
@@ -441,6 +441,6 @@ your configure settings should be
*/
public function findAll(): array
{
- return self::REASONS;
+ return self::REASONS;
}
}
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php