Commit Graph

61 Commits

Author SHA1 Message Date
Andrew Lawson
610649d759 Merge pull request #18 from igrizzli/develop
Readdir infinity reading fix
2016-04-22 08:46:29 +01:00
Yuriy Vilks
70876cd1fa Fix directory reading. Return FALSE on directory end instead empty string for avoiding infinity readdir cycles. 2016-04-21 19:51:54 +00:00
Andrew Lawson
e955034419 Merge pull request #17 from atom-azimov/windows-support
Add windows support.
2016-02-20 12:46:01 +00:00
Elbek Azimov
3995f84e8c Add windows support. 2016-02-20 03:49:02 +05:00
Andrew Lawson
75e2fde9b7 Merge pull request #16 from adlawson/basic-permissions
Set basic permission bits
2015-08-03 20:21:26 +01:00
adlawson
51158ae8e1 Test basic node permissions 2015-08-03 20:08:22 +01:00
adlawson
d814160c77 Set basic permission bits 2015-08-03 20:08:03 +01:00
Andrew Lawson
880950780b Merge pull request #14 from adlawson/feature/symlinks
Symlinks
2015-07-24 17:23:57 +01:00
adlawson
b14a232177 Set verbose flag on phpunit 2015-07-24 17:15:17 +01:00
adlawson
6733fb8c13 Update directory and file tests 2015-07-24 17:14:55 +01:00
adlawson
a7050a3990 Add symlink and is_link acceptance tests 2015-07-24 17:14:26 +01:00
adlawson
e495f5765a Add link node factory methods 2015-07-24 17:14:08 +01:00
adlawson
09a70ad1f0 Add file and directory link node types 2015-07-24 17:13:46 +01:00
adlawson
f6d79f264a Add mount to README example 2015-07-22 16:10:55 +01:00
adlawson
8e8f09c0d2 Rename node factory and walker variables
Prepend variable names with `node` ready for upcoming additional
factory.
2015-07-22 16:00:52 +01:00
adlawson
3bd78d08af Update composer on travis install 2015-07-22 13:25:29 +01:00
adlawson
8944d75bb9 Remove unnecessary bitwise &
This also fixes compat issues in PHP 5.5.
2015-07-22 11:29:14 +01:00
adlawson
8715b8b2c2 Update Stat description and permission bits 2015-07-22 11:23:08 +01:00
adlawson
bd72b39692 Use travis container env 2015-07-22 11:21:19 +01:00
adlawson
d05a0355a0 Update travis configuration 2015-07-22 09:48:09 +01:00
adlawson
bea7308ab1 Remove PHP 5.4 support and add PHP 7 2015-07-21 16:13:51 +01:00
adlawson
bede3179a2 Update CS fixes 2015-07-21 15:38:16 +01:00
adlawson
421826a923 Add useful composer scripts 2015-07-21 15:37:58 +01:00
adlawson
9654cf18b0 Update all dependency versions, including PHP 5.5 2015-07-21 15:23:57 +01:00
adlawson
4a0dd8dc62 Update license year to 2015
...eventually. Not long til 2016.
2015-07-21 15:17:00 +01:00
adlawson
feaf925bec Remove unnecessary @inheritdoc docblocks
They're not needed to inherit parent documentation and are overly all up
in my grill.
2015-07-21 15:11:15 +01:00
adlawson
30e428df47 Remove file __toString behaviour
Casting a file to a string to get the content is a bit of a dirty
pattern.
2015-07-21 12:30:08 +01:00
adlawson
407af5ef5b Test the stripping of :// from scheme 2015-07-21 12:27:37 +01:00
adlawson
dcd516c4e7 Don't automatically mount on FileSystem factory
This is to maintain the same behaviour whether you use the factory or
the builder.
2015-07-21 12:15:40 +01:00
Charles Sprayberry
3c4cecc423 create directory recursively
- Removes call to non-existent method ‘checkBit’
- Uses $recursive option passed as 2nd argument to determine if
recursion should occur
- Removes unused argument from DirectoryHandle::buildNodesRecursive
2014-12-30 20:33:38 +00:00
adlawson
ab2a2ad26f Test touching new and existing files 2014-12-26 17:15:59 +00:00
adlawson
f04b74ac94 Add touch acceptance test 2014-12-26 17:15:59 +00:00
adlawson
90c02999bd Add stream_metadata to stream wrapper
This adds support for functions like `touch`.
2014-12-26 17:15:59 +00:00
adlawson
6e2e685f6f Enable fast finishes on Travis 2014-12-26 17:11:44 +00:00
adlawson
52497699b7 Allow build failures on HHVM-Nightly 2014-12-26 17:09:47 +00:00
adlawson
23ffb05535 Update project URLs 2014-10-31 17:12:19 +00:00
adlawson
ecbce78baf Update URL parsing implementation
Better supports `scheme:///path` and `scheme:///`.
2014-09-07 00:44:12 +01:00
adlawson
aee858c1c4 Add eval example 2014-09-06 15:33:24 +01:00
adlawson
346ea57616 Apply CS fixes 2014-09-06 15:15:08 +01:00
adlawson
00ddcea4aa Add CS fixer to dev dependencies 2014-09-06 15:14:56 +01:00
adlawson
47cbf3c5ab Update project badges 2014-09-06 15:05:38 +01:00
adlawson
4e907b1df0 Update composer bits and pieces 2014-09-06 14:45:46 +01:00
adlawson
e3f60f663e Cover use of file_get_contents with a directory 2014-09-06 14:43:43 +01:00
adlawson
b8d8ddf714 Add require and include acceptance tests 2014-09-06 14:26:22 +01:00
adlawson
c3ac67db8a Add is_dir and is_file acceptance tests 2014-09-06 14:25:54 +01:00
adlawson
6f72a308fd Add fopen and fread acceptance tests 2014-09-06 14:25:31 +01:00
adlawson
6854d33591 Add file_get_contents acceptance tests
Also includes tests for `file_put_contents`.
2014-09-06 14:24:45 +01:00
adlawson
c937b5a286 Bitwise & rather than | node stat types
We need all the bits to pass simple tests like `is_dir` and `is_file`.

Fiexes #9.
2014-09-04 17:57:00 +01:00
Andrew Lawson
64ad3204fb Merge pull request #6 from redstar504/patch-1
Thanks @redredstar504!
2014-07-06 20:49:11 +01:00
Brayden Williams
84be9fecf6 Update README.md
Fix typo
2014-07-06 12:44:30 -07:00