Skip to content

Commit

Permalink
Merge pull request #2160 from zephir-lang/review-tests
Browse files Browse the repository at this point in the history
Review tests
  • Loading branch information
AlexNDRmac authored Mar 7, 2021
2 parents 34b067e + 1a532ed commit f891614
Show file tree
Hide file tree
Showing 194 changed files with 1,925 additions and 1,757 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
extensions: gmp, pdo_sqlite, psr, zip
tools: phpize, php-config
coverage: xdebug
# variables_order: https://github.com/phalcon/zephir/pull/1537
# enable_dl: https://github.com/phalcon/zephir/pull/1654
# allow_url_fopen: https://github.com/phalcon/zephir/issues/1713
# variables_order: https://github.com/zephir-lang/zephir/pull/1537
# enable_dl: https://github.com/zephir-lang/zephir/pull/1654
# allow_url_fopen: https://github.com/zephir-lang/zephir/issues/1713
# error_reporting: https://github.com/zendframework/zend-code/issues/160
ini-values: >-
variables_order=EGPCS,
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
php-version: ${{ matrix.php }}
extensions: mbstring, fileinfo, gmp, sqlite, pdo_sqlite, psr, zip
coverage: none
# variables_order: https://github.com/phalcon/zephir/pull/1537
# enable_dl: https://github.com/phalcon/zephir/pull/1654
# allow_url_fopen: https://github.com/phalcon/zephir/issues/1713
# variables_order: https://github.com/zephir-lang/zephir/pull/1537
# enable_dl: https://github.com/zephir-lang/zephir/pull/1654
# allow_url_fopen: https://github.com/zephir-lang/zephir/issues/1713
# error_reporting: https://github.com/zendframework/zend-code/issues/160
ini-values: >-
variables_order=EGPCS,
Expand Down
270 changes: 135 additions & 135 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Thanks! <br />
Phalcon Team

[team]: https://phalcon.io/en-us/team
[issues]: https://github.com/phalcon/zephir/issues
[issues]: https://github.com/zephir-lang/zephir/issues
[docs]: https://docs.zephir-lang.com
[git rebase]: http://git-scm.com/book/en/Git-Branching-Rebasing
[psr-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
2 changes: 1 addition & 1 deletion Library/Backends/ZendEngine3/VariablesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function initializeDefaults(Variable $variable, array $value, Context $co
private function initDynamicVar(Variable $variable, array $value, Context $context)
{
/* These ones are system variables, do not add default values.
Also see: https://github.com/phalcon/zephir/issues/1660 */
Also see: https://github.com/zephir-lang/zephir/issues/1660 */
if (\in_array($variable->getName(), self::RESERVED_NAMES, true)) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion Library/ClassMethodParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(array $parameters)
if (isset($parameter['reference']) && $parameter['reference']) {
throw new CompilerException(
'Zephir not support reference parameters for now. '.
'Stay tuned for https://github.com/phalcon/zephir/issues/203',
'Stay tuned for https://github.com/zephir-lang/zephir/issues/203',
$parameter
);
}
Expand Down
2 changes: 1 addition & 1 deletion Library/Console/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
For more see:
- https://github.com/phalcon/zephir/issues/1950
- https://github.com/zephir-lang/zephir/issues/1950
- https://github.com/phalcon/cphalcon/issues/13117
MSG
);
Expand Down
2 changes: 1 addition & 1 deletion Library/Operators/Other/CastOperator.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ public function compile(array $expression, CompilationContext $compilationContex
default:
// TODO: I'm not a pretty sure this branch works
// This is old code I just moved to "default"
// See: https://github.com/phalcon/zephir/issues/1988
// See: https://github.com/zephir-lang/zephir/issues/1988
$symbolVariable = $compilationContext->symbolTable->getTempVariable(
'string',
$compilationContext
Expand Down
4 changes: 2 additions & 2 deletions Library/Stubs/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ protected function buildMethod(ClassMethod $method, bool $isInterface, string $i
/**
* TODO: Add $method->isVoid() check after removing PHP 7.0 support.
*
* @see https://github.com/phalcon/zephir/issues/1977
* @see https://github.com/phalcon/zephir/pull/1978
* @see https://github.com/zephir-lang/zephir/issues/1977
* @see https://github.com/zephir-lang/zephir/pull/1978
*/
if (version_compare(PHP_VERSION, '7.0.0', '>=') && $method->hasReturnTypes()) {
$supported = 0;
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ Support us with a monthly donation and help us continue our activities.
Zephir licensed under the MIT License. See the [LICENSE](./LICENSE) file for more information.

[docs]: https://docs.zephir-lang.com
[zephir]: https://github.com/phalcon/zephir
[zephir]: https://github.com/zephir-lang/zephir
[facebook]: https://www.facebook.com/groups/zephir.language
[discord]: https://phalcon.link/discord
[zephir logo]: https://assets.phalconphp.com/zephir/zephir_logo-105x36.svg
[web site]: https://zephir-lang.com
[actions link]: https://github.com/phalcon/zephir/actions
[actions unix]: https://github.com/phalcon/zephir/workflows/Unix%20CI/badge.svg
[actions windows]: https://github.com/phalcon/zephir/workflows/Windows%20CI/badge.svg
[actions link]: https://github.com/zephir-lang/zephir/actions
[actions unix]: https://github.com/zephir-lang/zephir/workflows/Unix%20CI/badge.svg
[actions windows]: https://github.com/zephir-lang/zephir/workflows/Windows%20CI/badge.svg
[version badge]: https://poser.pugx.org/phalcon/zephir/v/stable.svg
[packagist link]: https://packagist.org/packages/phalcon/zephir
[license badge]: https://poser.pugx.org/phalcon/zephir/license.svg
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
{
"name": "Contributors",
"homepage": "https://github.com/phalcon/zephir/graphs/contributors"
"homepage": "https://github.com/zephir-lang/zephir/graphs/contributors"
}
],
"require": {
Expand Down Expand Up @@ -83,8 +83,8 @@
"zephir"
],
"support": {
"issues": "https://github.com/phalcon/zephir/issues?state=open",
"source": "https://github.com/phalcon/zephir",
"issues": "https://github.com/zephir-lang/zephir/issues?state=open",
"source": "https://github.com/zephir-lang/zephir",
"irc": "irc://irc.freenode.net/zephir",
"docs": "https://docs.zephir-lang.com"
}
Expand Down
4 changes: 2 additions & 2 deletions ext/stub/arraysearch.zep.c

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

16 changes: 8 additions & 8 deletions ext/stub/assign.zep.c

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

2 changes: 1 addition & 1 deletion ext/stub/bitwise.zep.c

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

24 changes: 12 additions & 12 deletions ext/stub/cast.zep.c

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

2 changes: 1 addition & 1 deletion ext/stub/compare.zep.c

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

6 changes: 3 additions & 3 deletions ext/stub/concat.zep.c

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

2 changes: 1 addition & 1 deletion ext/stub/constants.zep.c

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

2 changes: 1 addition & 1 deletion ext/stub/exception.zep.c

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

4 changes: 2 additions & 2 deletions ext/stub/functions.zep.c

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

Loading

0 comments on commit f891614

Please sign in to comment.