Permalink
Commits on Dec 28, 2017
  1. Merge pull request #165 from carusogabriel/null-coalesce-operator

    mikey179 committed Dec 28, 2017
    Use Null Coalesce Operator
Commits on Dec 17, 2017
  1. Use Null Coalesce Operator

    carusogabriel committed Dec 17, 2017
Commits on Nov 7, 2017
  1. Merge pull request #162 from augwa/patch-1

    mikey179 committed Nov 7, 2017
    Fix problem with annotation
Commits on Nov 6, 2017
  1. Fix problem with annotation

    augwa committed Nov 6, 2017
    withContent has problem with $content annotation, it has [ instead of a | to denote either a string or FileContent type.
Commits on Oct 30, 2017
  1. upgrade bovigo/assert for preventing conflicts with zend.assertions!=1

    mikey179 committed Oct 30, 2017
     - bovigo/assert updated from v3.0.0 to v3.1.0
       See changes: mikey179/bovigo-assert@v3.0.0...v3.1.0
       Release notes: https://github.com/mikey179/bovigo-assert/releases/tag/v3.1.0
    
     - myclabs/deep-copy updated from 1.6.1 to 1.7.0
       See changes: myclabs/DeepCopy@1.6.1...1.7.0
       Release notes: https://github.com/myclabs/DeepCopy/releases/tag/1.7.0
    
     - phpunit/phpunit updated from 6.3.0 to 6.4.3
       See changes: sebastianbergmann/phpunit@6.3.0...6.4.3
       Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/6.4.3
Commits on Sep 27, 2017
Commits on Sep 26, 2017
  1. switch to new array syntax

    mikey179 committed Sep 26, 2017
  2. add some more type hints

    mikey179 committed Sep 26, 2017
  3. finish conversion to bovigo/assert

    mikey179 committed Sep 26, 2017
Commits on Sep 25, 2017
  1. fix test on windows

    mikey179 committed Sep 25, 2017
    zip extension on Windows can't even open the file, whereas under Linux
    it only fails later when trying to close the archive.
  2. ensure assert() is not removed when compiled

    mikey179 committed Sep 25, 2017
  3. convert and improve more tests

    mikey179 committed Sep 25, 2017
Commits on Sep 22, 2017
  1. switch tests to use bovigo/assert

    mikey179 committed Sep 22, 2017
     - bovigo/assert installed in version v3.0.0
       Release notes: https://github.com/mikey179/bovigo-assert/releases/tag/v3.0.0
Commits on Sep 21, 2017
  1. remove, nowhere required

    mikey179 committed Sep 21, 2017
  2. replace usage of phpunit/phpunit-mock-objects with bovigo/callmap

    mikey179 committed Sep 21, 2017
    To be more precise all methods of the org\bovigo\vfs\visitor\vfsStreamVisitor
    interface have been changed to explicitly return itself. This is both
    helpful for where this interface is used as well as for bovigo/callmap as it
    can infer that the instance must return itself automatically.
    
     - bovigo/callmap installed in version v4.0.0
       Release notes: https://github.com/mikey179/bovigo-callmap/releases/tag/v4.0.0
  3. remove version switches regarding PHP 5.x

    mikey179 committed Sep 21, 2017
  4. update PHPUnit to 6.3

    mikey179 committed Sep 21, 2017
     - symfony/yaml removed (installed version was v3.3.9)
    
     - sebastian/recursion-context updated from 2.0.0 to 3.0.0
       See changes: sebastianbergmann/recursion-context@2.0.0...3.0.0
       Release notes: https://github.com/sebastianbergmann/recursion-context/releases/tag/3.0.0
    
     - sebastian/object-reflector installed in version 1.1.1
       Release notes: https://github.com/sebastianbergmann/object-reflector/releases/tag/1.1.1
    
     - sebastian/object-enumerator updated from 2.0.1 to 3.0.3
       See changes: sebastianbergmann/object-enumerator@2.0.1...3.0.3
       Release notes: https://github.com/sebastianbergmann/object-enumerator/releases/tag/3.0.3
    
     - sebastian/global-state updated from 1.1.1 to 2.0.0
       See changes: sebastianbergmann/global-state@1.1.1...2.0.0
       Release notes: https://github.com/sebastianbergmann/global-state/releases/tag/2.0.0
    
     - sebastian/exporter updated from 2.0.0 to 3.1.0
       See changes: sebastianbergmann/exporter@2.0.0...3.1.0
       Release notes: https://github.com/sebastianbergmann/exporter/releases/tag/3.1.0
    
     - sebastian/environment updated from 2.0.0 to 3.1.0
       See changes: sebastianbergmann/environment@2.0.0...3.1.0
       Release notes: https://github.com/sebastianbergmann/environment/releases/tag/3.1.0
    
     - sebastian/diff updated from 1.4.3 to 2.0.1
       See changes: sebastianbergmann/diff@1.4.3...2.0.1
       Release notes: https://github.com/sebastianbergmann/diff/releases/tag/2.0.1
    
     - sebastian/comparator updated from 1.2.4 to 2.0.2
       See changes: sebastianbergmann/comparator@1.2.4...2.0.2
       Release notes: https://github.com/sebastianbergmann/comparator/releases/tag/2.0.2
    
     - phpunit/phpunit-mock-objects updated from 3.4.4 to 4.0.4
       See changes: sebastianbergmann/phpunit-mock-objects@3.4.4...4.0.4
       Release notes: https://github.com/sebastianbergmann/phpunit-mock-objects/releases/tag/4.0.4
    
     - theseer/tokenizer installed in version 1.1.0
       Release notes: https://github.com/theseer/tokenizer/releases/tag/1.1.0
    
     - phpunit/php-code-coverage updated from 4.0.8 to 5.2.2
       See changes: sebastianbergmann/php-code-coverage@4.0.8...5.2.2
       Release notes: https://github.com/sebastianbergmann/php-code-coverage/releases/tag/5.2.2
    
     - phar-io/version installed in version 1.0.1
       Release notes: https://github.com/phar-io/version/releases/tag/1.0.1
    
     - phar-io/manifest installed in version 1.0.1
       Release notes: https://github.com/phar-io/manifest/releases/tag/1.0.1
    
     - phpunit/phpunit updated from 5.7.21 to 6.3.0
       See changes: sebastianbergmann/phpunit@5.7.21...6.3.0
       Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/6.3.0
  5. fix once

    mikey179 committed Sep 21, 2017
  6. install mbstring, required by PHPUnit

    mikey179 committed Sep 21, 2017
  7. update PHPUnit to 5.7

    mikey179 committed Sep 21, 2017
     - sebastian/version updated from 1.0.6 to 2.0.1
       See changes: sebastianbergmann/version@1.0.6...2.0.1
       Release notes: https://github.com/sebastianbergmann/version/releases/tag/2.0.1
    
     - sebastian/resource-operations installed in version 1.0.0
       Release notes: https://github.com/sebastianbergmann/resource-operations/releases/tag/1.0.0
    
     - sebastian/recursion-context updated from 1.0.5 to 2.0.0
       See changes: sebastianbergmann/recursion-context@1.0.5...2.0.0
       Release notes: https://github.com/sebastianbergmann/recursion-context/releases/tag/2.0.0
    
     - sebastian/object-enumerator installed in version 2.0.1
       Release notes: https://github.com/sebastianbergmann/object-enumerator/releases/tag/2.0.1
    
     - sebastian/exporter updated from 1.2.2 to 2.0.0
       See changes: sebastianbergmann/exporter@1.2.2...2.0.0
       Release notes: https://github.com/sebastianbergmann/exporter/releases/tag/2.0.0
    
     - sebastian/environment updated from 1.3.8 to 2.0.0
       See changes: sebastianbergmann/environment@1.3.8...2.0.0
       Release notes: https://github.com/sebastianbergmann/environment/releases/tag/2.0.0
    
     - phpunit/phpunit-mock-objects updated from 2.3.8 to 3.4.4
       See changes: sebastianbergmann/phpunit-mock-objects@2.3.8...3.4.4
       Release notes: https://github.com/sebastianbergmann/phpunit-mock-objects/releases/tag/3.4.4
    
     - sebastian/code-unit-reverse-lookup installed in version 1.0.1
       Release notes: https://github.com/sebastianbergmann/code-unit-reverse-lookup/releases/tag/1.0.1
    
     - phpunit/php-token-stream updated from 1.4.11 to 2.0.1
       See changes: sebastianbergmann/php-token-stream@1.4.11...2.0.1
       Release notes: https://github.com/sebastianbergmann/php-token-stream/releases/tag/2.0.1
    
     - phpunit/php-code-coverage updated from 2.2.4 to 4.0.8
       See changes: sebastianbergmann/php-code-coverage@2.2.4...4.0.8
       Release notes: https://github.com/sebastianbergmann/php-code-coverage/releases/tag/4.0.8
    
     - myclabs/deep-copy installed in version 1.6.1
       Release notes: https://github.com/myclabs/DeepCopy/releases/tag/1.6.1
    
     - phpunit/phpunit updated from 4.8.36 to 5.7.21
       See changes: sebastianbergmann/phpunit@4.8.36...5.7.21
       Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/5.7.21
  8. use PHP 7.1. for running tests on AppVeyor

    mikey179 committed Sep 21, 2017
  9. raise minimum required PHP version to 7.1.0, fixes #143

    mikey179 committed Sep 21, 2017
    Originally it was planned to drop support for PHP 5.x only, but as
    PHP 7.0 is nearing its end of life as well and the next major release
    of vfsStream is still quite a bit away I decided to jump straight
    to requiring 7.1.0.
    
    Also updated dependencies:
    
     - symfony/yaml updated from v2.7.5 to v3.3.9
       See changes: symfony/yaml@v2.7.5...v3.3.9
       Release notes: https://github.com/symfony/yaml/releases/tag/v3.3.9
    
     - sebastian/global-state updated from 1.0.0 to 1.1.1
       See changes: sebastianbergmann/global-state@1.0.0...1.1.1
       Release notes: https://github.com/sebastianbergmann/global-state/releases/tag/1.1.1
    
     - sebastian/recursion-context updated from 1.0.1 to 1.0.5
       See changes: sebastianbergmann/recursion-context@1.0.1...1.0.5
       Release notes: https://github.com/sebastianbergmann/recursion-context/releases/tag/1.0.5
    
     - sebastian/exporter updated from 1.2.1 to 1.2.2
       See changes: sebastianbergmann/exporter@1.2.1...1.2.2
       Release notes: https://github.com/sebastianbergmann/exporter/releases/tag/1.2.2
    
     - sebastian/environment updated from 1.3.2 to 1.3.8
       See changes: sebastianbergmann/environment@1.3.2...1.3.8
       Release notes: https://github.com/sebastianbergmann/environment/releases/tag/1.3.8
    
     - sebastian/diff updated from 1.3.0 to 1.4.3
       See changes: sebastianbergmann/diff@1.3.0...1.4.3
       Release notes: https://github.com/sebastianbergmann/diff/releases/tag/1.4.3
    
     - sebastian/comparator updated from 1.2.0 to 1.2.4
       See changes: sebastianbergmann/comparator@1.2.0...1.2.4
       Release notes: https://github.com/sebastianbergmann/comparator/releases/tag/1.2.4
    
     - doctrine/instantiator updated from 1.0.5 to 1.1.0
       See changes: doctrine/instantiator@1.0.5...1.1.0
       Release notes: https://github.com/doctrine/instantiator/releases/tag/1.1.0
    
     - phpunit/php-timer updated from 1.0.7 to 1.0.9
       See changes: sebastianbergmann/php-timer@1.0.7...1.0.9
       Release notes: https://github.com/sebastianbergmann/php-timer/releases/tag/1.0.9
    
     - phpunit/php-file-iterator updated from 1.4.1 to 1.4.2
       See changes: sebastianbergmann/php-file-iterator@1.4.1...1.4.2
       Release notes: https://github.com/sebastianbergmann/php-file-iterator/releases/tag/1.4.2
    
     - phpunit/php-token-stream updated from 1.4.8 to 1.4.11
       See changes: sebastianbergmann/php-token-stream@1.4.8...1.4.11
       Release notes: https://github.com/sebastianbergmann/php-token-stream/releases/tag/1.4.11
    
     - phpunit/php-code-coverage updated from 2.2.3 to 2.2.4
       See changes: sebastianbergmann/php-code-coverage@2.2.3...2.2.4
       Release notes: https://github.com/sebastianbergmann/php-code-coverage/releases/tag/2.2.4
    
     - webmozart/assert installed in version 1.2.0
       Release notes: https://github.com/webmozart/assert/releases/tag/1.2.0
    
     - phpdocumentor/reflection-common installed in version 1.0.1
       Release notes: https://github.com/phpDocumentor/ReflectionCommon/releases/tag/1.0.1
    
     - phpdocumentor/type-resolver installed in version 0.4.0
       Release notes: https://github.com/phpDocumentor/TypeResolver/releases/tag/0.4.0
    
     - phpdocumentor/reflection-docblock updated from 2.0.4 to 4.1.1
       See changes: phpDocumentor/ReflectionDocBlock@2.0.4...4.1.1
       Release notes: https://github.com/phpDocumentor/ReflectionDocBlock/releases/tag/4.1.1
    
     - phpspec/prophecy updated from v1.5.0 to v1.7.2
       See changes: phpspec/prophecy@v1.5.0...v1.7.2
       Release notes: https://github.com/phpspec/prophecy/releases/tag/v1.7.2
    
     - phpunit/phpunit updated from 4.8.10 to 4.8.36
       See changes: sebastianbergmann/phpunit@4.8.10...4.8.36
       Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/4.8.36
Commits on Aug 1, 2017
  1. fix typo

    mikey179 committed Aug 1, 2017
  2. Merge PR #157

    mikey179 committed Aug 1, 2017
  3. adjust style, add @SInCE tags

    mikey179 committed Aug 1, 2017
Commits on Jul 31, 2017
  1. Seeking before beginning of file should fail

    merijnvdk committed Jul 31, 2017
    Implemented pull request feedback:
    
    - Refactor seek so internal offset is not modified when the seek fails.
    
    - Moved "seek before beginning" assertions into their own test methods.
Commits on Jul 26, 2017
  1. Seeking before beginning of file should fail

    merijnvdk committed Jul 26, 2017
    When seeking in a file to a location before the beginning of the file,
    the operation seems to succeed. While if i try to do the same with a
    "real" file then the seek command will return an error.
    
    So i changed the seek method to return false if the offset is less
    than 0. This seems to solve my problem and behaves in the same
    way as seeking in a real file. However I do not know if there are
    situations where seeking before the beginning of the file could be
    a valid use case. testing with fseek on unix fs always returns -1
    when seeking past the beginning of the file. Added five test
    assertions to validate this behavior.
Commits on Mar 30, 2017
  1. Merge pull request #150 from RadiusWebTools/create-from-structure-han…

    mikey179 committed Mar 30, 2017
    …dles-vfsStreamFile-and-FileContent
    
    Create from structure handles vfs stream file and file content
  2. Merge pull request #148 from RadiusWebTools/skip-broken-tests-on-x86-php

    mikey179 committed Mar 30, 2017
    Skip test if PHP integer is too small (i.e. 32-bit PHP environment)
Commits on Mar 24, 2017
  1. Add test cases for vfsStream::addStructure()

    jsmitty12 committed Mar 24, 2017
    Resolves #149
  2. Skip test if PHP integer is too small

    jsmitty12 committed Mar 24, 2017
Commits on Mar 21, 2017
Commits on Feb 7, 2017
  1. Merge pull request #145 from photodude/patch-1

    mikey179 committed Feb 7, 2017
    Test against the current hhvm version and php 7.1