summaryrefslogtreecommitdiff
path: root/scripts/dev
Commit message (Collapse)AuthorAgeFilesLines
* Sync leading and final newlines in source code filesPeter Kokot2018-10-142-2/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-132-10/+10
|
* Remove some old parts of the phpPeter Kokot2018-08-251-0/+0
| | | | | | Since ba138a3746b3077ebe5b7356b5b49f21cfc30438 the generate-phpt library has been unbundled from the php-src. This patch cleans two remaining parts.
* Remove unused Git attributes identPeter Kokot2018-07-251-3/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Removed the generated-tests library, this is a left Zöe's phpruntests ↵Kalle Sommer Nielsen2018-07-2377-2827/+0
| | | | | | repository it seems and never fully implemented. The only times this part of the code has been touched throughout the years has been minor PRs and entire php-src grep commits. If anything this belongs to the phpruntests.git repository.
* [ci skip] Remove trailing WSChristoph M. Becker2018-06-051-5/+5
| | | | | | | | Since commit 2238403 removed respective trailing WS in files generated by this script, we remove the trailing WS in the first place, to avoid further mundane merge conflicts. [1] http://git.php.net/?p=php-src.git;a=commit;h=2238403892ccf87143a59814538d9f764509d9e7
* Fix some misspellingsGabriel Caruso2018-02-061-1/+1
|
* Simplify returns in generate-phptGabriel Caruso2018-01-266-43/+17
|
* Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2018-01-032-3/+3
|\ | | | | | | | | * PHP-7.1: Happy new year (Update copyright to 2018)
| * Happy new year (Update copyright to 2018)Lior Kaplan2018-01-022-3/+3
| |
* | Set default value for some properties in generate-phptDanilo Correa2017-12-131-2/+2
|/
* fix stub to accept user properlyJoe Watkins2017-01-091-1/+1
|
* More check_parameters improvementsNikita Popov2015-10-021-23/+37
| | | | | | | | | * Switch default REPORT_LEVEL to 1 to cut down on the noise * Make initialization of 'C' variable always required * Don't require init of lLdb variable if ! is used * Don't throw error about missing init of not detected parameters (This was a regression in the last changeset) * Support method_parameters and throw variations
* More check_parameters improvementsNikita Popov2015-10-011-11/+23
| | | | | | | | * Allow / on everything but lLdb (on which it will work, but makes no sense). * For ! on lLdb add additional zend_bool* parameter. * For optional s and p only require one of the variables to be initialized. The length is usually not initialized.
* Update scripts/dev/check_parameters.php for PHP 7Sean DuBois2015-10-011-40/+22
| | | | | Also fix deprecation errors and move from preg_replace -> preg_replace_callback.
* one new line too muchAnatol Belski2015-08-201-1/+1
|
* use the bare tarball filename for the stub, no path elementsAnatol Belski2015-08-191-2/+2
|
* Merge branch 'pull-request/1454'Christoph M. Becker2015-08-131-3/+9
|\ | | | | | | | | * pull-request/1454: Docs for find_tested.php
| * Docs for find_tested.phpNikhil Vimal2015-08-041-3/+9
| | | | | | Initial Pass, also fixing the extra space before the extract_tests function name to keep with standards.
* | make use of PHPROOT for possible mkdist integrationAnatol Belski2015-08-101-2/+5
| |
* | make scripts/dev/gen_verify_stub executableAnatol Belski2015-08-101-0/+0
| |
* | initial add verification stub generatorAnatol Belski2015-08-101-0/+48
|/
* Revert "Fix arginfo for built-in engine functions"Dmitry Stogov2015-06-221-74/+0
| | | | This reverts commit d2356541d0386e3f0b6d593e2cc046ced68ff050.
* Revert "Fix genarginfo to respect by-ref passing"Dmitry Stogov2015-06-221-12/+4
| | | | This reverts commit db6990a91b2ca931074b29886c7f7819b14bb021.
* Fix genarginfo to respect by-ref passingBob Weinand2015-06-221-4/+12
|
* Fix arginfo for built-in engine functionsRasmus Lerdorf2015-06-211-0/+74
|
* typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-191-0/+0
|
* Merge branch 'master' into issue-67910Florian MARGAINE2014-09-202-2/+2
|\ | | | | | | | | | | Conflicts: README.PARAMETER_PARSING_API ext/gmp/tests/001.phpt
| * s/PHP 5/PHP 7/Johannes Schlüter2014-09-192-2/+2
| |
* | Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-3/+3
|/
* Merge branch 'PHP-5.5' into PHP-5.6Lior Kaplan2014-08-171-1/+1
|\ | | | | | | | | * PHP-5.5: typofixes
| * typofixesVeres Lajos2014-08-171-1/+1
| |
* | Merge branch 'PHP-5.5'Stanislav Malyshev2013-08-042-1/+1
|\ \ | |/ | | | | | | * PHP-5.5: non living code related typo fixes
| * non living code related typo fixesVeres Lajos2013-08-042-1/+1
| |
| * typo fixesVeres Lajos2013-07-152-1/+1
| |
* | Remove PHP3 conversion scriptsJohannes Schlüter2013-07-173-136/+0
| |
* | typo fixesVeres Lajos2013-07-152-1/+1
|/
* typo fixes (argument)Veres Lajos2013-06-102-1/+1
|
* Fix common typos in the source code (Reported in Bug #54065)Pierrick Charron2011-04-033-7/+7
| | | | | | | # External libraries were excluded # Thanks eitan at eitanadler dot com for the first patch :)
* Make the credits script more verboseJohannes Schlüter2010-05-271-0/+1
|
* fixing missing semi-colonZoe Slattery2009-05-072-2/+2
|
* Replacing generate script with a new versionZoe Slattery2009-05-0779-1148/+2853
|
* Added a script that generates phpt test coverage information for functions ↵Steve Seear2008-05-091-0/+222
| | | | and methods.
* Changes to the code that generates variations (Robin & Josie)Zoe Slattery2008-04-151-32/+86
|
* Fixing:Zoe Slattery2008-04-131-8/+4
| | | | | | | (1) remove proto from start (2)substitute "Done" with ===DONE== after closing tag in FILE section and at end of EXPECTF. (3) Remove "add comment here..."
* Fixing typo arg->arglist at line 195. Thanks Chris J!Zoe Slattery2008-02-141-1/+1
|
* Fixing bug 44042Zoe Slattery2008-02-061-86/+79
|
* Moving the the phpt generation script to scripts/dev directory at Jani's ↵Zoe Slattery2008-02-031-0/+1105
| | | | suggestion.
* Update copyright yearIlia Alshanetsky2007-01-012-2/+2
| | | | | # The rest of the files were already updated by Sebastian
* more improvementsAntony Dovgal2006-09-101-3/+8
|