Skip to content

Commit

Permalink
Cleanup tests, fix urls for windows readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNDRmac committed Mar 7, 2021
1 parent f891614 commit f79f50d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 35 deletions.
6 changes: 3 additions & 3 deletions WINDOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PHP-Version requirements are marked using `[ ]`
setx path "%path%;c:\path-to-php\"
```
- [Install PHP SDK for PHP 5.6](http://windows.php.net/downloads/php-sdk/)(Currently `php-sdk-binary-tools-20110915.zip` is the newest)
- [Install PHP SDK for PHP 7.0+](https://github.com/Microsoft/php-sdk-binary-tools/releases)
- [Install PHP SDK for PHP 7.0+](https://github.com/Microsoft/php-sdk-binary-tools/releases)
```cmd
setx php_sdk "c:\path-to-php-sdk"
```
Expand All @@ -41,7 +41,7 @@ composer install

## Installation of Zephir Parser

1. Download [Zephir Parser for Windows](https://github.com/phalcon/php-zephir-parser/releases/latest)
1. Download [Zephir Parser for Windows](https://github.com/zephir-lang/php-zephir-parser/releases/latest)
2. Extract the DLL file and copy it to your PHP extensions directory
3. Edit your `php.ini` file and add this line:
```ini
Expand All @@ -51,7 +51,7 @@ composer install
extension=zephir_parser.dll
```

**NOTE**: Also you can [compile it yourself.](https://github.com/phalcon/php-zephir-parser/blob/master/README.WIN32-BUILD-SYSTEM)
**NOTE**: Also you can [compile it yourself.](https://github.com/zephir-lang/php-zephir-parser/blob/master/README.WIN32-BUILD-SYSTEM)

## Usage of Zephir

Expand Down
26 changes: 0 additions & 26 deletions phpunit

This file was deleted.

5 changes: 0 additions & 5 deletions tests/Extension/ConstantsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ public function testMagickConstants(): void
}

/**
* Test Constant declaration as String.
*
* @author Alexnder Andriiako <[email protected]>
*
* @since 2017-08-09
* @issue https://github.com/zephir-lang/zephir/issues/1571
*/
public function testStringDelimiterAsConstDoubleQuoted(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/sharness/t0005-stubs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test_expect_success "Should properly generate Aliases for use statements" \
"test_cmp expected/$expected ide/0.0.1/Stubs/Issue_1986.zep.php"

# See: https://github.com/zephir-lang/zephir/issues/1896
test_expect_success "Should generage CamelCase folders for stubs" \
test_expect_success "Should generate CamelCase folders for stubs" \
"test $(ls ./ide/0.0.1/Stubs/Events/ManagerInterface.zep.php | sed -e 's~\/~\\~g') = .\ide\0.0.1\Stubs\Events\ManagerInterface.zep.php"

# See: https://github.com/zephir-lang/zephir/issues/2026
Expand Down

0 comments on commit f79f50d

Please sign in to comment.