eZ/Publish/Core/FieldType/Tests/RichTextTest.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 401-410 (lines=10) @@
                                 | 
                            
                                                            
                                    | 398 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 399 | 
                                     | 
                                         * @return string  | 
                                
                                                            
                                    | 400 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 401 | 
                                     | 
                                        protected static function getInstallationDir()  | 
                                
                                                            
                                    | 402 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 403 | 
                                     | 
                                            static $installDir = null;  | 
                                
                                                            
                                    | 404 | 
                                     | 
                                            if ($installDir === null) { | 
                                
                                                            
                                    | 405 | 
                                     | 
                                                $config = require 'config.php';  | 
                                
                                                            
                                    | 406 | 
                                     | 
                                                $installDir = $config['install_dir'];  | 
                                
                                                            
                                    | 407 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 408 | 
                                     | 
                                     | 
                                
                                                            
                                    | 409 | 
                                     | 
                                            return $installDir;  | 
                                
                                                            
                                    | 410 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 411 | 
                                     | 
                                     | 
                                
                                                            
                                    | 412 | 
                                     | 
                                        protected function provideFieldTypeIdentifier()  | 
                                
                                                            
                                    | 413 | 
                                     | 
                                        { | 
                                
                                                                        
                 
                                                            
                    
eZ/Publish/Core/Persistence/Legacy/Tests/Content/FieldValue/Converter/RichTextTest.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 95-104 (lines=10) @@
                                 | 
                            
                                                            
                                    | 92 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 93 | 
                                     | 
                                         * @return string  | 
                                
                                                            
                                    | 94 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 95 | 
                                     | 
                                        protected static function getInstallationDir()  | 
                                
                                                            
                                    | 96 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 97 | 
                                     | 
                                            static $installDir = null;  | 
                                
                                                            
                                    | 98 | 
                                     | 
                                            if ($installDir === null) { | 
                                
                                                            
                                    | 99 | 
                                     | 
                                                $config = require 'config.php';  | 
                                
                                                            
                                    | 100 | 
                                     | 
                                                $installDir = $config['service']['parameters']['install_dir'];  | 
                                
                                                            
                                    | 101 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 102 | 
                                     | 
                                     | 
                                
                                                            
                                    | 103 | 
                                     | 
                                            return $installDir;  | 
                                
                                                            
                                    | 104 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 105 | 
                                     | 
                                    }  | 
                                
                                                            
                                    | 106 | 
                                     | 
                                     | 
                                
                                                                        
                 
                                                            
                    
eZ/Publish/SPI/Tests/FieldType/BaseIntegrationTest.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 68-77 (lines=10) @@
                                 | 
                            
                                                            
                                    | 65 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 66 | 
                                     | 
                                         * @return string  | 
                                
                                                            
                                    | 67 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 68 | 
                                     | 
                                        protected static function getInstallationDir()  | 
                                
                                                            
                                    | 69 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 70 | 
                                     | 
                                            static $installDir = null;  | 
                                
                                                            
                                    | 71 | 
                                     | 
                                            if ($installDir === null) { | 
                                
                                                            
                                    | 72 | 
                                     | 
                                                $config = require __DIR__ . '/../../../../../config.php';  | 
                                
                                                            
                                    | 73 | 
                                     | 
                                                $installDir = $config['install_dir'];  | 
                                
                                                            
                                    | 74 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 75 | 
                                     | 
                                     | 
                                
                                                            
                                    | 76 | 
                                     | 
                                            return $installDir;  | 
                                
                                                            
                                    | 77 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 78 | 
                                     | 
                                     | 
                                
                                                            
                                    | 79 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 80 | 
                                     | 
                                         * @var \eZ\Publish\Core\Persistence\TransformationProcessor  | 
                                
                                                                        
                 
                                                            
                    
eZ/Publish/SPI/Tests/FieldType/RichTextIntegrationTest.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 185-194 (lines=10) @@
                                 | 
                            
                                                            
                                    | 182 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 183 | 
                                     | 
                                         * @return string  | 
                                
                                                            
                                    | 184 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 185 | 
                                     | 
                                        protected static function getInstallationDir()  | 
                                
                                                            
                                    | 186 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 187 | 
                                     | 
                                            static $installDir = null;  | 
                                
                                                            
                                    | 188 | 
                                     | 
                                            if ($installDir === null) { | 
                                
                                                            
                                    | 189 | 
                                     | 
                                                $config = require 'config.php';  | 
                                
                                                            
                                    | 190 | 
                                     | 
                                                $installDir = $config['install_dir'];  | 
                                
                                                            
                                    | 191 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 192 | 
                                     | 
                                     | 
                                
                                                            
                                    | 193 | 
                                     | 
                                            return $installDir;  | 
                                
                                                            
                                    | 194 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 195 | 
                                     | 
                                    }  | 
                                
                                                            
                                    | 196 | 
                                     | 
                                     | 
                                
                                                                        
                 
                                                            
                    
eZ/Publish/Core/Persistence/Legacy/Tests/TestCase.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 345-354 (lines=10) @@
                                 | 
                            
                                                            
                                    | 342 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 343 | 
                                     | 
                                         * @return string  | 
                                
                                                            
                                    | 344 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 345 | 
                                     | 
                                        protected static function getInstallationDir()  | 
                                
                                                            
                                    | 346 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 347 | 
                                     | 
                                            static $installDir = null;  | 
                                
                                                            
                                    | 348 | 
                                     | 
                                            if ($installDir === null) { | 
                                
                                                            
                                    | 349 | 
                                     | 
                                                $config = require 'config.php';  | 
                                
                                                            
                                    | 350 | 
                                     | 
                                                $installDir = $config['install_dir'];  | 
                                
                                                            
                                    | 351 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 352 | 
                                     | 
                                     | 
                                
                                                            
                                    | 353 | 
                                     | 
                                            return $installDir;  | 
                                
                                                            
                                    | 354 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 355 | 
                                     | 
                                    }  | 
                                
                                                            
                                    | 356 | 
                                     | 
                                     |