1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
Commit Graph

281 Commits

Author SHA1 Message Date
Aaron Piotrowski
ee8f10f512
Update for changes to Closable interface
Also require PHP 8.1 and use features.
2022-03-28 18:05:56 -05:00
Niklas Keller
f018099831 Rename atEnd → eof 2022-02-09 01:28:59 +01:00
Niklas Keller
2a29532b97 Switch to beta stability 2022-02-09 00:57:37 +01:00
Niklas Keller
76a84c1552 Try a different condition for Windows 2022-02-08 23:43:31 +01:00
Niklas Keller
3143155546 Run check on Windows only 2022-02-08 23:37:40 +01:00
Niklas Keller
a82d8f22a0 Try a different condition for Windows 2022-02-08 23:29:12 +01:00
Niklas Keller
440d4fb434 Try test skip on Windows due to symlink in build path 2022-02-08 22:56:28 +01:00
Niklas Keller
83582fe723 Fix Windows tests 2022-02-08 22:50:57 +01:00
Niklas Keller
8ced3f0d17 Try to fix some more tests on Windows 2022-02-08 22:43:53 +01:00
Niklas Keller
a2328098e9 Try to fix some more tests on Windows 2022-02-08 22:38:50 +01:00
Niklas Keller
6fc18e8f1d Improve exception documentation 2022-02-08 22:20:28 +01:00
Niklas Keller
067229676b Fix return type 2022-02-08 22:06:40 +01:00
Niklas Keller
58d738fae6 Fix some tests on Windows 2022-02-08 22:04:15 +01:00
Niklas Keller
1eba16a584 Skip link loops on Windows 2022-02-08 21:42:35 +01:00
Niklas Keller
42f95c3691 Upgrade to php-cs-fixer v3 2022-02-08 21:34:54 +01:00
Niklas Keller
5db7b77c9d Move extensions from require-dev to suggestions 2022-02-08 21:32:37 +01:00
Niklas Keller
d5d0b36201 Add very basic example for psalm 2022-02-08 21:26:46 +01:00
Niklas Keller
745e7c71b3 Install fiber extension 2022-02-08 21:22:59 +01:00
Niklas Keller
0f0e16adbd Install uv on Linux only 2022-02-08 21:20:47 +01:00
Niklas Keller
ad85a98309 Add psalm, require check 2022-02-08 21:16:59 +01:00
Niklas Keller
42c378130e Rename Sync\AsyncFileMutex → FileMutex 2022-02-08 19:52:03 +01:00
Niklas Keller
c9e30f5687 Rename Driver → FilesystemDriver 2022-02-08 19:49:16 +01:00
Niklas Keller
6bcd502fd7 Fix exception documentation 2022-02-08 19:29:07 +01:00
Niklas Keller
83654deeba Merge branch 'master' into v3
* master:
  Remove unnecessary double assignment
  Return written length in blocking and parallel drivers (#64)

# Conflicts:
#	src/Driver/BlockingFile.php
#	src/Driver/ParallelFile.php
#	test/FileTest.php
2022-02-08 19:17:30 +01:00
Niklas Keller
f306068680 Run invalidate in finally block 2022-02-08 19:15:38 +01:00
Niklas Keller
013f592f3e Remove unnecessary double assignment 2022-02-08 18:57:37 +01:00
255797807b
Return written length in blocking and parallel drivers (#64) 2022-02-08 18:53:31 +01:00
Aaron Piotrowski
dad4f97100
Update for further dependency changes 2022-02-07 19:31:21 -06:00
Aaron Piotrowski
858c2a46fc
Update for amphp/parallel changes 2021-12-22 17:23:01 -06:00
Niklas Keller
c46262eff3 Update for beta changes 2021-12-22 22:54:20 +01:00
Bob Weinand
a15f524472 Update for recent renames 2021-12-04 15:23:37 +01:00
Aaron Piotrowski
3513e8fee2
Add isClosed 2021-11-21 22:55:15 -06:00
Aaron Piotrowski
b2b263092e
Update for stream changes and coroutine to launch rename 2021-11-21 13:12:23 -06:00
Aaron Piotrowski
7d31b42f82
Update for removal of Revolt\launch 2021-10-19 19:13:54 -05:00
Aaron Piotrowski
742d9303d0
Use Revolt and update for Amp changes 2021-10-16 00:04:27 -05:00
Aaron Piotrowski
67c4cb07c2
Merge branch 'master' into v3 2021-10-15 17:07:19 -05:00
Jáchym Toušek
3d3d084b81
Fix EioDriver (#61) 2021-09-19 23:35:03 -05:00
Jáchym Toušek
a638ea0a4e
Fix GitHub Actions (#60) 2021-09-07 13:36:40 +02:00
Aaron Piotrowski
03844ce122
Merge branch 'master' into v3
# Conflicts:
#	composer.json
#	src/Driver/ParallelFile.php
2021-07-13 23:03:53 -05:00
Niklas Keller
17b758986d Fix deprecation warning on PHP 8.1 2021-07-12 22:20:01 +02:00
Jáchym Toušek
6b7ea38a02
Use eio-beta in CI (#58)
* Use eio-beta in CI
* Enable ext-eio v3
2021-06-23 20:12:57 +02:00
Niklas Keller
08c651cc58 Fix PHP CS Fixer config 2021-06-21 21:35:15 +02:00
Niklas Keller
90f955076c Ignore ext-eio on PHP 8 2021-06-21 21:33:16 +02:00
Niklas Keller
36c6f688fc Remove conditional for now 2021-06-21 21:28:38 +02:00
Niklas Keller
05e2fe33a7 Use ubuntu-20.04 due to conditional 2021-06-21 21:26:20 +02:00
Niklas Keller
385f0badd2 Install libuv on ubuntu-latest 2021-06-21 21:16:18 +02:00
Niklas Keller
f45eb1177f Try to fix uv on GitHub actions 2021-06-21 21:11:12 +02:00
Niklas Keller
bcc397e482 Migrate to GitHub actions 2021-06-21 21:08:24 +02:00
Aaron Piotrowski
f406950680
Remove call to eio_init
Deprecated in eio v2, removed in v3.
2021-05-21 14:23:48 -05:00
Aaron Piotrowski
faec49c347
Update for rename 2020-12-12 12:47:07 -06:00