File tree 3 files changed +5
-10
lines changed
src/main/kotlin/com/pestphp/pest
3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 7
7
### Added
8
8
- Added pest file creation support
9
9
10
+ ### Fixed
11
+ - Remove test sources filter lookup, as it breaks others plugins
12
+
10
13
## 1.9.3 - 2023-05-31
11
14
12
15
### Fixed
Original file line number Diff line number Diff line change 3
3
4
4
pluginGroup = com.pestphp
5
5
pluginName = PEST PHP
6
- pluginVersion = 1.10.0-EAP.1
6
+ pluginVersion = 1.10.0
7
7
8
8
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
9
9
# for insight into build numbers and IntelliJ Platform versions.
Original file line number Diff line number Diff line change 1
1
package com.pestphp.pest
2
2
3
- import com.intellij.openapi.project.ProjectManager
4
- import com.intellij.openapi.roots.TestSourcesFilter
5
3
import com.intellij.openapi.vfs.VirtualFile
6
4
import com.intellij.util.indexing.DefaultFileTypeSpecificInputFilter
7
5
import com.jetbrains.php.lang.PhpFileType
8
6
9
7
open class PhpTestFolderInputFilter : DefaultFileTypeSpecificInputFilter (PhpFileType .INSTANCE ) {
10
8
override fun acceptInput (file : VirtualFile ): Boolean {
11
- if (file.path.contains(""" .*?test.*?/.*\..*""" .toRegex())) {
12
- return true
13
- }
14
-
15
- return ProjectManager .getInstance().openProjects.any {
16
- TestSourcesFilter .isTestSources(file, it)
17
- }
9
+ return file.path.contains(""" .*?test.*?/.*\..*""" .toRegex());
18
10
}
19
11
}
You can’t perform that action at this time.
0 commit comments