mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-04 10:20:10 +02:00
♻️ Use discardableResult
- Removed ShellProtocol.quiet(), now that pipe() is discardable - Detecting PHP versions is also discardable - The system command is also discardable This is a nice quality of life change overall, and gets rid of a couple of silly `_ =` assignments.
This commit is contained in:
@@ -63,7 +63,7 @@ struct RealFileSystemTest {
|
||||
#expect(filesystem.directoryExists("\(temporaryDirectory)/brew/etc/lib"))
|
||||
#expect(filesystem.directoryExists("\(temporaryDirectory)/brew/etc/lib/c"))
|
||||
|
||||
_ = system("ln -s \(temporaryDirectory)/brew/etc/lib/c \(temporaryDirectory)/c")
|
||||
system("ln -s \(temporaryDirectory)/brew/etc/lib/c \(temporaryDirectory)/c")
|
||||
#expect(filesystem.directoryExists("\(temporaryDirectory)/c"))
|
||||
#expect(filesystem.isSymlink("\(temporaryDirectory)/c"))
|
||||
#expect(
|
||||
|
||||
Reference in New Issue
Block a user